From 3d69ae01c0f2421a89b862ec5fea635a40826896 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 13 Apr 2021 00:02:12 -0400 Subject: Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm. Some of the Scintilla API has changed, and by extension the Scintillua API. --- src/scintilla.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scintilla.patch') 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(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; -- cgit v1.2.3