Guido Mersmann
2014-07-24 23:02:49 UTC
Hello,
I am new to this group, so I hope not to break any rules. :)
We are using Scintilla as a text class for the MorphOS SDKs Editor ( http://www.morphos.de ) and it works quite well.
I have a general question related to selection handling.
Is there any way to *disable* the auto deselection behavior?
What I want to achieve is an selection which is independent from any text edit functions.
Currently there are two modes.
A) Holding shift and move cursor to drag selection boundary.
B) The sticky way, where you move just the cursor to kind of drag the selection boundary.
For me the preferred way is to have the marked part completely separated from editing.
Defining a selection is done by using some cursor position generated start/end points at cursor position. Important is that moving the cursor or typing outside this selected area does not deselect the selection area.
Personally I use this behavior for around 30 years now. I press F1 at selection start, F2 at the end. So changing start or end is possible at any time. This allows even to edit some text, before moving or copying the selected area as the text stays selected until the person using the keyboard decides to kill it. Also the selected area can be used to highlight stuff for easy pickup, when writing stuff above or below.
Currently everything is there, but we cannot figure how to prevent a selection from being deselected.
I hope you can help
Guido
http://www.geit.de
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
I am new to this group, so I hope not to break any rules. :)
We are using Scintilla as a text class for the MorphOS SDKs Editor ( http://www.morphos.de ) and it works quite well.
I have a general question related to selection handling.
Is there any way to *disable* the auto deselection behavior?
What I want to achieve is an selection which is independent from any text edit functions.
Currently there are two modes.
A) Holding shift and move cursor to drag selection boundary.
B) The sticky way, where you move just the cursor to kind of drag the selection boundary.
For me the preferred way is to have the marked part completely separated from editing.
Defining a selection is done by using some cursor position generated start/end points at cursor position. Important is that moving the cursor or typing outside this selected area does not deselect the selection area.
Personally I use this behavior for around 30 years now. I press F1 at selection start, F2 at the end. So changing start or end is possible at any time. This allows even to edit some text, before moving or copying the selected area as the text stays selected until the person using the keyboard decides to kill it. Also the selected area can be used to highlight stuff for easy pickup, when writing stuff above or below.
Currently everything is there, but we cannot figure how to prevent a selection from being deselected.
I hope you can help
Guido
http://www.geit.de
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.