From fc3c8bb9494df53db191725a6727edf2f7d361f8 Mon Sep 17 00:00:00 2001
From: nyamatongwe
-
-
+
+
+
+
+
+
@@ -3111,7 +3113,7 @@ struct Sci_TextToFind {
or narrow character window with character messages treated as Unicode when wide and as 8 bit otherwise.
Set this property to always treat as Unicode. This option is needed for Delphi.
SCI_SETWORDCHARS(<unused>, const char *chars)
+
SCI_SETWORDCHARS(<unused>, const char *characters)
Scintilla has several functions that operate on words, which are defined to be contiguous
sequences of characters from a particular set of characters. This message defines which
characters are members of that set. The character sets are set to default values before processing this
@@ -3120,13 +3122,28 @@ struct Sci_TextToFind {
use:
SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
SCI_SETWHITESPACECHARS(<unused>, const char *chars)
+
SCI_GETWORDCHARS(<unused>, char *characters)
+ This fills the characters parameter with all the characters included in words.
+ The characters parameter must be large enough to hold all of the characters.
+ If the characters parameter is 0 then the length that should be allocated
+ to store the entire set is returned.
SCI_SETWHITESPACECHARS(<unused>, const char *characters)
+ SCI_GETWHITESPACECHARS(<unused>, char *characters)
Similar to SCI_SETWORDCHARS, this message allows the user to define which chars Scintilla considers
as whitespace. Setting the whitespace chars allows the user to fine-tune Scintilla's behaviour doing
such things as moving the cursor to the start or end of a word; for example, by defining punctuation chars
as whitespace, they will be skipped over when the user presses ctrl+left or ctrl+right.
This function should be called after SCI_SETWORDCHARS as it will
- reset the whitespace characters to the default set.
SCI_GETWHITESPACECHARS behaves similarly to SCI_GETWORDCHARS.
+
+ SCI_SETPUNCTUATIONCHARS(<unused>, const char *characters)
+ SCI_GETPUNCTUATIONCHARS(<unused>, char *characters)
+ Similar to SCI_SETWORDCHARS and SCI_SETWHITESPACECHARS, this message
+ allows the user to define which chars Scintilla considers as punctuation.
+ SCI_GETPUNCTUATIONCHARS behaves similarly to SCI_GETWORDCHARS.
SCI_SETCHARSDEFAULT
Use the default sets of word and whitespace characters. This sets whitespace to space, tab and other
characters with codes less than 0x20, with word characters set to alphanumeric and '_'.
--
cgit v1.2.3