aboutsummaryrefslogtreecommitdiff
path: root/src/scintilla_backports/6317_82cb780a04d1.patch
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-03-12 18:20:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-03-12 18:20:24 -0400
commitec391b6bfe8d87f4fb1bbb2a4e6033eaad9f4672 (patch)
tree3e465bb700187ef104363c31525a73a4147c0edb /src/scintilla_backports/6317_82cb780a04d1.patch
parentf82726891b4cd2f323ce882e5aa6d71227dda887 (diff)
downloadtextadept-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/6317_82cb780a04d1.patch')
-rw-r--r--src/scintilla_backports/6317_82cb780a04d1.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/scintilla_backports/6317_82cb780a04d1.patch b/src/scintilla_backports/6317_82cb780a04d1.patch
deleted file mode 100644
index f3660d1b..00000000
--- a/src/scintilla_backports/6317_82cb780a04d1.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-# HG changeset patch
-# User Neil <nyamatongwe@gmail.com>
-# Date 1497328847 -36000
-# Node ID 82cb780a04d12256758fc545b35779dc971d2de6
-# Parent 44fa26c9177437cd9d12ecbed3c9d6f9e1985a89
-Bug [#1949]. Fix drawing failure in wrap mode for delete to start/end of line.
-
-diff -r 44fa26c91774 -r 82cb780a04d1 doc/ScintillaHistory.html
---- a/doc/ScintillaHistory.html Tue Jun 13 14:33:53 2017 +1000
-+++ b/doc/ScintillaHistory.html Tue Jun 13 14:40:47 2017 +1000
-@@ -547,6 +547,11 @@
- <a href="http://sourceforge.net/p/scintilla/bugs/1919/">Bug #1919</a>.
- </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>.
-+ </li>
-+ <li>
- On Qt, mouse tracking is reenabled when the window is reshown.
- <a href="http://sourceforge.net/p/scintilla/bugs/1948/">Bug #1948</a>.
- </li>
-diff -r 44fa26c91774 -r 82cb780a04d1 src/Editor.cxx
---- a/src/Editor.cxx Tue Jun 13 14:33:53 2017 +1000
-+++ b/src/Editor.cxx Tue Jun 13 14:40:47 2017 +1000
-@@ -818,8 +818,11 @@
- const Sci::Line currentLine = pdoc->LineFromPosition(newPos.Position());
- if (ensureVisible) {
- // In case in need of wrapping to ensure DisplayFromDoc works.
-- if (currentLine >= wrapPending.start)
-- WrapLines(wsAll);
-+ if (currentLine >= wrapPending.start) {
-+ if (WrapLines(wsAll)) {
-+ Redraw();
-+ }
-+ }
- XYScrollPosition newXY = XYScrollToMakeVisible(
- SelectionRange(posDrag.IsValid() ? posDrag : newPos), xysDefault);
- if (previousPos.IsValid() && (newXY.xOffset == xOffset)) {
-@@ -5290,8 +5293,11 @@
- void Editor::EnsureLineVisible(Sci::Line lineDoc, bool enforcePolicy) {
-
- // In case in need of wrapping to ensure DisplayFromDoc works.
-- if (lineDoc >= wrapPending.start)
-- WrapLines(wsAll);
-+ if (lineDoc >= wrapPending.start) {
-+ if (WrapLines(wsAll)) {
-+ Redraw();
-+ }
-+ }
-
- if (!cs.GetVisible(lineDoc)) {
- // Back up to find a non-blank line