From 6a7cac4480d15c5737fd5c25a4b0fa3c937d935b Mon Sep 17 00:00:00 2001
From: nyamatongwe SCI_SETUSEPALETTE(bool allowPaletteUse) On Windows, there are some problems with visual flashing when switching between applications
- with palettes and it is also necessary for the application containing the Scintilla control to
- forward some messages to Scintilla for its palette code to work. Because of this, by default,
- the palette is not used and the application must tell Scintilla to use one. If Scintilla is not
- using a palette, it will only display in those colours already available, which are often the
- 20 Windows system colours. To see an example of how to enable palette support in Scintilla, search the text of SciTE
- for To forward a message
-
- SCI_GETUSEPALETTE
- On 8 bit displays, which can only display a maximum of 256 colours, the graphics environment
- mediates between the colour needs of applications through the use of palettes. On GTK+,
- Scintilla always uses a palette.WM_PALETTECHANGED, WM_QUERYNEWPALETTE and
- SCI_SETUSEPALETTE. The Windows messages to forward are:
- WM_SYSCOLORCHANGE, WM_PALETTECHANGED,
- WM_QUERYNEWPALETTE (should return TRUE).(WM_XXXX, WPARAM, LPARAM) to Scintilla, you can use
SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM) where hScintilla is
the handle to the Scintilla window you created as your editor.INCLUDE_DEPRECATED_FEATURES in Scintilla.h. To ensure future
compatibility you should change them as indicated.
SCN_POSCHANGED() Deprecated
- Fired when the user moves the cursor to a different position in the text. Use instead.
SC_CP_DBCS Deprecated
+ This was used to set a DBCS (Double Byte Character Set) mode on GTK+.
+ An explicit DBCS code page should be used when calling
SCN_CHECKBRACE Deprecated
- Either the text or styling of the document has changed or the selection range has changed.
- This is replaced by . You
- can also use for more
- detailed information on text and styling changes,
SCI_SETUSEPALETTE(bool allowPaletteUse) Deprecated
+ SCI_GETUSEPALETTE Deprecated
+ Scintilla no longer supports palette mode. The last version to support palettes was 2.29.
+ Any calls to these methods should be removed.
-- cgit v1.2.3