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/6171_99e46ea84433.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/6171_99e46ea84433.patch')
-rw-r--r-- | src/scintilla_backports/6171_99e46ea84433.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/scintilla_backports/6171_99e46ea84433.patch b/src/scintilla_backports/6171_99e46ea84433.patch deleted file mode 100644 index 4b183244..00000000 --- a/src/scintilla_backports/6171_99e46ea84433.patch +++ /dev/null @@ -1,25 +0,0 @@ -# HG changeset patch -# User Neil <nyamatongwe@gmail.com> -# Date 1491548935 -36000 -# Node ID 99e46ea84433f95e568fb9fdc7d4a92869e823ab -# Parent df221375187cab18a3e1c73ae83fa46805bf98db -Check index before checking value at index. - -diff -r df221375187c -r 99e46ea84433 src/CellBuffer.cxx ---- a/src/CellBuffer.cxx Fri Apr 07 17:08:12 2017 +1000 -+++ b/src/CellBuffer.cxx Fri Apr 07 17:08:55 2017 +1000 -@@ -348,12 +348,12 @@ - - int UndoHistory::StartRedo() { - // Drop any leading startAction -- if (actions[currentAction].at == startAction && currentAction < maxAction) -+ if (currentAction < maxAction && actions[currentAction].at == startAction) - currentAction++; - - // Count the steps in this action - int act = currentAction; -- while (actions[act].at != startAction && act < maxAction) { -+ while (act < maxAction && actions[act].at != startAction) { - act++; - } - return act - currentAction; |