diff options
author | nyamatongwe <unknown> | 2003-03-20 11:22:14 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-03-20 11:22:14 +0000 |
commit | ca17c0cc2e37c264782d3f1db49278366e562dcb (patch) | |
tree | 269e3f31c3495acbd880f76129f6f16b0a51da96 /gtk/ScintillaGTK.cxx | |
parent | 79fee676f20f4847e666bff5d73bfe029b24aca0 (diff) | |
download | scintilla-mirror-ca17c0cc2e37c264782d3f1db49278366e562dcb.tar.gz |
Patch from Simon Steele to implement the hotspot style and associated
notifications.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index f4de1f772..2764a828f 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -46,6 +46,12 @@ #include "gtk/gtksignal.h" #include "gtk/gtkmarshal.h" +#ifdef SCI_LEXER +#include <glib.h> +#include <gmodule.h> +#include "ExternalLexer.h" +#endif + #if GTK_MAJOR_VERSION < 2 #define INTERNATIONAL_INPUT #endif @@ -608,6 +614,12 @@ sptr_t ScintillaGTK::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam case SCI_GETDIRECTPOINTER: return reinterpret_cast<sptr_t>(this); +#ifdef SCI_LEXER + case SCI_LOADLEXERLIBRARY: + LexerManager::GetInstance()->Load(reinterpret_cast<const char*>( wParam )); + break; +#endif + default: return ScintillaBase::WndProc(iMessage, wParam, lParam); } |