This project is read-only.

multiline editing in ScintillaNET

Topics: User Forum
Nov 20, 2014 at 9:28 AM
Hi,
for an app I am creating, I use ScintillaNET. I wonder if it is possible to enable multiline editing. Searching for this delivered no solutions. I know Scintilla has this capability, at least other project using Scintilla have this feature (ie: SciTE).
Any help appreciated!
Bye, Menno
Nov 28, 2014 at 4:33 PM
Hi All,
Does anyone have ideas about this? I am wondering if multiline, or even multicursor editing could be possible in ScintillaNET, or if an easier way would be to use a different text editor control.
Or maybe the forum is not viewed very often? :-)
Thanks again,
Menno
May 25, 2015 at 6:20 AM
As you suspected these forums have gone unanswered for quite a long time. The project has moved to GitHub:
https://github.com/jacobslusser/ScintillaNET

From your description it sounds like you're interested in Multiple Selections. In v3 hosted at GitHub (NOT v2.x hosted here at CodePlex) you can set the MultipleSelection property to true to enable multiple selections using the CTRL key. You can programmatically create multiple selections using the Selections collection.

To have multiple cursors you would want to have multiple selections where each selection Caret and Anchor are at the same position.


Jacob