This project is read-only.

Questions about selection

Apr 22, 2008 at 5:35 PM

I configure scintilla like this:

this.scintilla1.LineWrap.Mode = ScintillaNet.WrapMode.Word;

1. enter enough text so that this text is wrapped (without whitespaces),
2. place caret at the beginning of the text
3. press Shift+End.

Only the first line of the wrapped text should be selected then, as it happens in numerous other editors including Word, and Notepad++ (, which is based on scintilla component.
In Notepad there is a bug too, because the selection does not contain the last character in the (wrapped) line (so it may be also Scintilla bug).

I was wondering if there is a way too make Scintilla behave as I want it to (by changing apropriate settings), or I should rather implement my own handler to implement this behaviour (it should not be too hard, just capture Shift+End key...).

Any other ideas, how to do that?