From 3c72ea75b53a599474a72a4fa07f204d25207a18 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 24 Feb 2017 22:45:15 -0500 Subject: Applied upstream Scintilla patch for stream selection mode; src/scintilla.patch --- src/scintilla.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3