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/6136_2b25287311d0.patch | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/scintilla_backports/6136_2b25287311d0.patch (limited to 'src/scintilla_backports/6136_2b25287311d0.patch') diff --git a/src/scintilla_backports/6136_2b25287311d0.patch b/src/scintilla_backports/6136_2b25287311d0.patch new file mode 100644 index 00000000..cea704d2 --- /dev/null +++ b/src/scintilla_backports/6136_2b25287311d0.patch @@ -0,0 +1,43 @@ +# HG changeset patch +# User Neil +# Date 1489633459 -39600 +# Node ID 2b25287311d015ecc9971c101f0f40ae00c8ca4e +# Parent 34665edc7efdd526c62e426bb0f6267f64e156e7 +For single phase drawing ensure edges and mark underline drawn over fold tags by +moving drawing of edge line and mark underline after fold tags. + +diff -r 34665edc7efd -r 2b25287311d0 src/EditView.cxx +--- a/src/EditView.cxx Thu Mar 16 13:49:54 2017 +1100 ++++ b/src/EditView.cxx Thu Mar 16 14:04:19 2017 +1100 +@@ -1857,8 +1857,10 @@ + + if (phase & drawIndicatorsBack) { + DrawIndicators(surface, model, vsDraw, ll, line, xStart, rcLine, subLine, lineRange.end, true, model.hoverIndicatorPos); +- DrawEdgeLine(surface, vsDraw, ll, rcLine, lineRange, xStart); +- DrawMarkUnderline(surface, model, vsDraw, line, rcLine); ++ if (phasesDraw != phasesOne) { ++ DrawEdgeLine(surface, vsDraw, ll, rcLine, lineRange, xStart); ++ DrawMarkUnderline(surface, model, vsDraw, line, rcLine); ++ } + } + + if (phase & drawText) { +@@ -1874,14 +1876,15 @@ + DrawIndicators(surface, model, vsDraw, ll, line, xStart, rcLine, subLine, lineRange.end, false, model.hoverIndicatorPos); + } + +- // End of the drawing of the current line ++ DrawFoldDisplayText(surface, model, vsDraw, ll, line, xStart, rcLine, subLine, subLineStart, phase); ++ + if (phasesDraw == phasesOne) { + DrawEOL(surface, model, vsDraw, ll, rcLine, line, lineRange.end, + xStart, subLine, subLineStart, background); ++ DrawEdgeLine(surface, vsDraw, ll, rcLine, lineRange, xStart); ++ DrawMarkUnderline(surface, model, vsDraw, line, rcLine); + } + +- DrawFoldDisplayText(surface, model, vsDraw, ll, line, xStart, rcLine, subLine, subLineStart, phase); +- + if (!hideSelection && (phase & drawSelectionTranslucent)) { + DrawTranslucentSelection(surface, model, vsDraw, ll, line, rcLine, subLine, lineRange, xStart); + } -- cgit v1.2.3