From ebf25a1b4cf192ee683014b78dc0f11e95c58fe5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 1 Nov 2003 11:40:37 +0000 Subject: Patch from Roy Wood to allow changing the characters that are in the whitespace class. --- doc/ScintillaDoc.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index bbdf57a90..221d141db 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2216,6 +2216,8 @@ struct TextToFind { SCI_SETCODEPAGE(int codePage)
SCI_GETCODEPAGE
SCI_SETWORDCHARS(<unused>, const char + *chars)
+ SCI_SETWHITESPACECHARS(<unused>, const char *chars)
SCI_GRABFOCUS
SCI_SETFOCUS(bool focus)
@@ -2308,6 +2310,13 @@ struct TextToFind { use:
SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");

+

SCI_SETWHITESPACECHARS(<unused>, const char *chars)
+ Similar to SCI_SETWORDCHARS, this message allows the user to define which chars Scintilla considers + as whitespace. If chars is null then the default set, space and all char codes less than + 0x20, are used. 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. +

SCI_GRABFOCUS
SCI_SETFOCUS(bool focus)
SCI_GETFOCUS
-- cgit v1.2.3