aboutsummaryrefslogtreecommitdiff
path: root/src/scintilla.patch
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2021-02-13 18:55:37 -0500
committermitchell <70453897+orbitalquark@users.noreply.github.com>2021-02-13 18:55:37 -0500
commita81fbc0b621aef0eae640be3dc453eda409c70c2 (patch)
treeae9908e547e00b6c9064a105e83100d8515651f2 /src/scintilla.patch
parentcd17224d42a019dc54e33b0ec787242165fcf90e (diff)
downloadtextadept-a81fbc0b621aef0eae640be3dc453eda409c70c2.tar.gz
textadept-a81fbc0b621aef0eae640be3dc453eda409c70c2.zip
Take advantage of Scinterm being able to use a native terminal caret.
Also change brace highlight style to not change the background color, as some terminal cursors invert the current cell, so this would cause the highlighted brace at the current position to "unhighlight", causing confusion. This requires latest Scinterm.
Diffstat (limited to 'src/scintilla.patch')
-rw-r--r--src/scintilla.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch
index 6850f62f..751c96af 100644
--- a/src/scintilla.patch
+++ b/src/scintilla.patch
@@ -3,7 +3,6 @@ Scintilla changes:
* Hijack SCI_LOADLEXERLIBRARY for programmatically setting input method.
This is helpful on newer versions of macOS, where changing the input method is
flaky.
-* Update DrawTabArrowFn() signature in order to draw strikeout tabs.
* Handle leading whitespace in XPM images in order to prevent crashes.
diff -r 6e368ee248e4 gtk/ScintillaGTK.cxx
@@ -21,30 +20,6 @@ diff -r 6e368ee248e4 gtk/ScintillaGTK.cxx
case SCI_TARGETASUTF8:
return TargetAsUTF8(CharPtrFromSPtr(lParam));
-diff -r 22b6bbb36280 src/EditView.cxx
---- a/src/EditView.cxx Sat Sep 05 07:55:08 2020 +1000
-+++ b/src/EditView.cxx Fri Oct 02 19:34:46 2020 -0400
-@@ -1951,7 +1951,7 @@
- if (!customDrawTabArrow)
- DrawTabArrow(surface, rcTab, segmentTop, vsDraw);
- else
-- customDrawTabArrow(surface, rcTab, segmentTop);
-+ customDrawTabArrow(surface, rcTab, segmentTop, vsDraw);
- }
- }
- } else {
-diff -r 22b6bbb36280 src/EditView.h
---- a/src/EditView.h Sat Sep 05 07:55:08 2020 +1000
-+++ b/src/EditView.h Fri Oct 02 19:34:46 2020 -0400
-@@ -40,7 +40,7 @@
- void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRectangle rcText,
- const StyledText &st, size_t start, size_t length, DrawPhase phase);
-
--typedef void (*DrawTabArrowFn)(Surface *surface, PRectangle rcTab, int ymid);
-+typedef void (*DrawTabArrowFn)(Surface *surface, PRectangle rcTab, int ymid, const ViewStyle &vsDraw);
-
- class LineTabstops;
-
diff -r 22b6bbb36280 src/XPM.cxx
--- a/src/XPM.cxx Sat Sep 05 07:55:08 2020 +1000
+++ b/src/XPM.cxx Fri Oct 02 20:32:13 2020 -0400