diff options
author | 2018-03-12 18:20:24 -0400 | |
---|---|---|
committer | 2018-03-12 18:20:24 -0400 | |
commit | ec391b6bfe8d87f4fb1bbb2a4e6033eaad9f4672 (patch) | |
tree | 3e465bb700187ef104363c31525a73a4147c0edb /src/scintilla_backports/6339_79f86be9e988.patch | |
parent | f82726891b4cd2f323ce882e5aa6d71227dda887 (diff) | |
download | textadept-ec391b6bfe8d87f4fb1bbb2a4e6033eaad9f4672.tar.gz textadept-ec391b6bfe8d87f4fb1bbb2a4e6033eaad9f4672.zip |
Start using Scintilla's LongTerm3, which now includes Scintillua and Scinterm.
Since LongTerm3 requires a C++11 compiler, GCC 4.9+ is required.
Since C++11 includes regex capability, drop TRE dependency.
Diffstat (limited to 'src/scintilla_backports/6339_79f86be9e988.patch')
-rw-r--r-- | src/scintilla_backports/6339_79f86be9e988.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/scintilla_backports/6339_79f86be9e988.patch b/src/scintilla_backports/6339_79f86be9e988.patch deleted file mode 100644 index 70a7b037..00000000 --- a/src/scintilla_backports/6339_79f86be9e988.patch +++ /dev/null @@ -1,51 +0,0 @@ -# HG changeset patch -# User Justin Dailey -# Date 1499396123 -36000 -# Node ID 79f86be9e988efc5b1462ae549c271c4f3a1b82c -# Parent 5a311da5df4077a7666cbfede428d8f29a6d14e6 -Redraw when overtype changed so caret change visible even when not blinking. -Notify application with SC_UPDATE_SELECTION when overtype changed - previously -sent SC_UPDATE_CONTENT. - -diff -r 5a311da5df40 -r 79f86be9e988 doc/ScintillaHistory.html ---- a/doc/ScintillaHistory.html Mon Jul 03 05:45:07 2017 -0700 -+++ b/doc/ScintillaHistory.html Fri Jul 07 12:55:23 2017 +1000 -@@ -565,6 +565,11 @@ - <a href="http://sourceforge.net/p/scintilla/bugs/1919/">Bug #1919</a>. - </li> - <li> -+ Ensure redraw when application changes overtype mode so caret change visible even when not blinking. -+ Notify application with SC_UPDATE_SELECTION when overtype changed - previously -+ sent SC_UPDATE_CONTENT. -+ </li> -+ <li> - Fix drawing failure when in wrap mode for delete to start/end of line which - affects later lines but did not redraw them. - <a href="http://sourceforge.net/p/scintilla/bugs/1949/">Bug #1949</a>. -diff -r 5a311da5df40 -r 79f86be9e988 src/Editor.cxx ---- a/src/Editor.cxx Mon Jul 03 05:45:07 2017 -0700 -+++ b/src/Editor.cxx Fri Jul 07 12:55:23 2017 +1000 -@@ -3733,9 +3733,8 @@ - break; - case SCI_EDITTOGGLEOVERTYPE: - inOverstrike = !inOverstrike; -+ ContainerNeedsUpdate(SC_UPDATE_SELECTION); - ShowCaretAtCurrentPosition(); -- ContainerNeedsUpdate(SC_UPDATE_CONTENT); -- NotifyUpdateUI(); - break; - case SCI_CANCEL: // Cancel any modes - handled in subclass - // Also unselect text -@@ -7637,7 +7636,11 @@ - } - - case SCI_SETOVERTYPE: -- inOverstrike = wParam != 0; -+ if (inOverstrike != (wParam != 0)) { -+ inOverstrike = wParam != 0; -+ ContainerNeedsUpdate(SC_UPDATE_SELECTION); -+ ShowCaretAtCurrentPosition(); -+ } - break; - - case SCI_GETOVERTYPE: |