From dd24e21bbeadbd1c7f6954f72ebe479e7ce3dc99 Mon Sep 17 00:00:00 2001 From: Mook Date: Tue, 29 May 2012 12:44:34 -0700 Subject: add CharClassifier::GetCharsOfClass add SCI_GETWORDCHARS(, stringresult chars) command to get word chars add SCI_GETWHITESPACECHARS(, stringresult chars) to get whitespace chars add SCI_GETPUNCTUATIONCHARS(, stringresult chars) to get punctutation also add tests for {Set,Get}{Word,Whitespce,Punctuation}Chars, CharClassifier --- include/Scintilla.iface | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 7abbb68c1..0dc9eb35a 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -552,6 +552,10 @@ set void SetCaretPeriod=2076(int periodMilliseconds,) # First sets defaults like SetCharsDefault. set void SetWordChars=2077(, string characters) +# Get the set of characters making up words for when moving or selecting by word. +# Retuns the number of characters +get int GetWordChars=2646(, stringresult characters) + # Start a sequence of actions that is undone and redone as a unit. # May be nested. fun void BeginUndoAction=2078(,) @@ -1800,6 +1804,16 @@ fun void WordRightEndExtend=2442(,) # Should be called after SetWordChars. set void SetWhitespaceChars=2443(, string characters) +# Get the set of characters making up whitespace for when moving or selecting by word. +get void GetWhitespaceChars=2647(, stringresult characters) + +# Set the set of characters making up punctuation characters +# Should be called after SetWordChars. +set void SetPunctuationChars=2648(, string characters) + +# Get the set of characters making up punctuation characters +get void GetPunctuationChars=2649(, stringresult characters) + # Reset the set of characters for whitespace and word characters to the defaults. fun void SetCharsDefault=2444(,) -- cgit v1.2.3