aboutsummaryrefslogtreecommitdiff
path: root/src/scintilla.patch
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-13 00:02:12 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-13 00:02:12 -0400
commit3d69ae01c0f2421a89b862ec5fea635a40826896 (patch)
tree0930132b4c69c144538340b48b7c52accc639b61 /src/scintilla.patch
parent19899b518f18165b1dfb6d9b4b18e531f4b56249 (diff)
downloadtextadept-3d69ae01c0f2421a89b862ec5fea635a40826896.tar.gz
textadept-3d69ae01c0f2421a89b862ec5fea635a40826896.zip
Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm.
Some of the Scintilla API has changed, and by extension the Scintillua API.
Diffstat (limited to 'src/scintilla.patch')
-rw-r--r--src/scintilla.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch
index 751c96af..5c4090bd 100644
--- a/src/scintilla.patch
+++ b/src/scintilla.patch
@@ -1,6 +1,6 @@
Scintilla changes:
-* Hijack SCI_LOADLEXERLIBRARY for programmatically setting input method.
+* Hijack SCI_CHANGEINSERTION for programmatically setting input method.
This is helpful on newer versions of macOS, where changing the input method is
flaky.
* Handle leading whitespace in XPM images in order to prevent crashes.
@@ -12,7 +12,7 @@ diff -r 6e368ee248e4 gtk/ScintillaGTK.cxx
case SCI_GETDIRECTPOINTER:
return reinterpret_cast<sptr_t>(this);
-+ case SCI_LOADLEXERLIBRARY:
++ case SCI_CHANGEINSERTION:
+ // Hijack this interface to programmatically set input method.
+ gtk_im_multicontext_set_context_id(GTK_IM_MULTICONTEXT(im_context), ConstCharPtrFromSPtr(lParam));
+ break;