diff options
author | 2017-02-24 22:45:15 -0500 | |
---|---|---|
committer | 2017-02-24 22:45:15 -0500 | |
commit | 3c72ea75b53a599474a72a4fa07f204d25207a18 (patch) | |
tree | 9febf8bbc1fce3ebbbb101a1dd2534cb57689766 | |
parent | ba73b79219414e731c2b3b3a5a68b94a889f305d (diff) | |
download | textadept-3c72ea75b53a599474a72a4fa07f204d25207a18.tar.gz textadept-3c72ea75b53a599474a72a4fa07f204d25207a18.zip |
Applied upstream Scintilla patch for stream selection mode; src/scintilla.patch
-rw-r--r-- | src/scintilla.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch index ac950c56..77eaf161 100644 --- a/src/scintilla.patch +++ b/src/scintilla.patch @@ -191,3 +191,16 @@ diff -r bfdfb44eb777 src/Document.cxx +} + +#endif +diff -r e99b1a2bfbf8 src/Editor.cxx +--- a/src/Editor.cxx Thu Feb 16 08:37:09 2017 +1100 ++++ b/src/Editor.cxx Wed Feb 22 11:37:10 2017 -0500 +@@ -3111,6 +3111,9 @@ + } + + void Editor::CursorUpOrDown(int direction, Selection::selTypes selt) { ++ if ((selt == Selection::noSel) && sel.MoveExtends()) { ++ selt = Selection::selStream; ++ } + SelectionPosition caretToUse = sel.Range(sel.Main()).caret; + if (sel.IsRectangular()) { + if (selt == Selection::noSel) { |