From fd8d92656e630a44ed99688fc01f1896836b4c52 Mon Sep 17 00:00:00 2001
From: Darrell Anderson
To see an example of how to enable palette support in Scintilla, search the text of SciTE
- for WM_PALETTECHANGED
, WM_TQUERYNEWPALETTE
and
+ for WM_PALETTECHANGED
, WM_QUERYNEWPALETTE
and
SCI_SETUSEPALETTE
. The Windows messages to forward are:
WM_SYSCOLORCHANGE
, WM_PALETTECHANGED
,
- WM_TQUERYNEWPALETTE
(should return TRUE
).
WM_QUERYNEWPALETTE
(should return TRUE
).
To forward a message (WM_XXXX, WPARAM, LPARAM)
to Scintilla, you can use
SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM)
where hScintilla
is
@@ -2935,7 +2935,7 @@ struct TextToFind {
INDIC_STQUIGGLE
INDIC_SQUIGGLE
The default indicator styles are equivalent to:
- SCI_INDICSETSTYLE(0, INDIC_STQUIGGLE);
+ SCI_INDICSETSTYLE(0, INDIC_SQUIGGLE);
SCI_INDICSETSTYLE(1, INDIC_TT);
SCI_INDICSETSTYLE(2, INDIC_PLAIN);