From d255bd6711955192f98bed8bf0b98872dab7fca6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 7 Apr 2017 18:10:12 -0400 Subject: Effectively updated to Scintilla 3.7.4 with select backports to 3.7.3. Scintilla 3.7.4 requires a C++11 compiler, which I do not have. --- src/scintilla_backports/6097_7f22895eaddb.patch | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/scintilla_backports/6097_7f22895eaddb.patch (limited to 'src/scintilla_backports/6097_7f22895eaddb.patch') diff --git a/src/scintilla_backports/6097_7f22895eaddb.patch b/src/scintilla_backports/6097_7f22895eaddb.patch new file mode 100644 index 00000000..2ffe1923 --- /dev/null +++ b/src/scintilla_backports/6097_7f22895eaddb.patch @@ -0,0 +1,34 @@ +# HG changeset patch +# User Neil +# Date 1487827984 -39600 +# Node ID 7f22895eaddb6584d488ed2e606d5d0e930db22c +# Parent cc79ed8e4f8274ba1242150f36e2ab0b40ed68f4 +Bug [#1905]. Fix stream selection mode when moving caret up or down. + +diff -r cc79ed8e4f82 -r 7f22895eaddb doc/ScintillaHistory.html +--- a/doc/ScintillaHistory.html Wed Feb 22 16:35:01 2017 +1100 ++++ b/doc/ScintillaHistory.html Thu Feb 23 16:33:04 2017 +1100 +@@ -527,6 +527,10 @@ + Released 19 February 2017. + +
  • ++ Fix to stream selection mode when moving caret up or down. ++ Bug #1905. ++
  • ++
  • + Fix to prevent double scrolling on GTK+ with X11. + Bug #1901. +
  • +diff -r cc79ed8e4f82 -r 7f22895eaddb src/Editor.cxx +--- a/src/Editor.cxx Wed Feb 22 16:35:01 2017 +1100 ++++ b/src/Editor.cxx Thu Feb 23 16:33:04 2017 +1100 +@@ -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