From 3cbf72fe0b13700358b71c17b32e35ba9f06c814 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 23 Feb 2017 16:33:04 +1100 Subject: Bug [#1905]. Fix stream selection mode when moving caret up or down. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index a2b087046..9366619ce 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3111,6 +3111,9 @@ SelectionPosition Editor::PositionUpOrDown(SelectionPosition spStart, int direct } 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