diff options
author | 2020-01-07 18:57:13 -0500 | |
---|---|---|
committer | 2020-01-07 18:57:13 -0500 | |
commit | 0b3df679ea94bdb70dc76ac54dd3255431783d07 (patch) | |
tree | 16eb599fde516f1a428d461208c239c182a6d6ed /src/scintilla.patch | |
parent | 873f5fc451615351e2da78603e9f008a8587a6bd (diff) | |
download | textadept-0b3df679ea94bdb70dc76ac54dd3255431783d07.tar.gz textadept-0b3df679ea94bdb70dc76ac54dd3255431783d07.zip |
Updated scintilla.patch based on latest Scintilla LongTerm3 hg.
Diffstat (limited to 'src/scintilla.patch')
-rw-r--r-- | src/scintilla.patch | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch index 9569e577..e5b76b97 100644 --- a/src/scintilla.patch +++ b/src/scintilla.patch @@ -24,17 +24,14 @@ flaky. diff -r 6e368ee248e4 gtk/ScintillaGTK.cxx --- a/gtk/ScintillaGTK.cxx Fri Oct 26 11:06:34 2018 -0400 +++ b/gtk/ScintillaGTK.cxx Sun Nov 25 00:20:58 2018 -0500 -@@ -821,11 +821,11 @@ +@@ -821,6 +821,11 @@ case SCI_GETDIRECTPOINTER: return reinterpret_cast<sptr_t>(this); --#ifdef SCI_LEXER - case SCI_LOADLEXERLIBRARY: -- LexerManager::GetInstance()->Load(ConstCharPtrFromSPtr(lParam)); ++ case SCI_LOADLEXERLIBRARY: + // Hijack this interface to programmatically set input method. + gtk_im_multicontext_set_context_id(GTK_IM_MULTICONTEXT(im_context), ConstCharPtrFromSPtr(lParam)); - break; --#endif ++ break; + case SCI_TARGETASUTF8: return TargetAsUTF8(CharPtrFromSPtr(lParam)); |