From 4f8c51ef2e37f152640afa8565716435b256172c Mon Sep 17 00:00:00 2001
From: nyamatongwe
This pair of routines sets and reads back the number of bits in each cell to use for styling,
to a maximum of 7 style bits. The remaining bits can be used as indicators. The standard
- setting is SCI_SETSTYLEBITS(5).
SCI_SETSTYLEBITS(5).
+ The number of styling bits needed by the current lexer can be found with
+ SCI_GETSTYLEBITSNEEDED.
TextRange and CharacterRange
These structures are defined to be exactly the same shape as the Win32 TEXTRANGE
@@ -4293,6 +4295,8 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
+
+
SCI_SETLEXER(int lexer)
@@ -4402,6 +4406,11 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
There is nothing to stop you building your own keyword lists into the lexer, but this means
that the lexer must be rebuilt if more keywords are added.
SCI_GETSTYLEBITSNEEDED
+ Retrieve the number of bits the current lexer needs for styling. This should normally be the argument
+ to .
+
Notifications are sent (fired) from the Scintilla control to its container when an event has -- cgit v1.2.3