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.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/Scintilla.h') diff --git a/include/Scintilla.h b/include/Scintilla.h index 8251726dc..3cacd5310 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -246,6 +246,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETCARETPERIOD 2075 #define SCI_SETCARETPERIOD 2076 #define SCI_SETWORDCHARS 2077 +#define SCI_GETWORDCHARS 2646 #define SCI_BEGINUNDOACTION 2078 #define SCI_ENDUNDOACTION 2079 #define INDIC_PLAIN 0 @@ -684,6 +685,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_WORDRIGHTEND 2441 #define SCI_WORDRIGHTENDEXTEND 2442 #define SCI_SETWHITESPACECHARS 2443 +#define SCI_GETWHITESPACECHARS 2647 +#define SCI_SETPUNCTUATIONCHARS 2648 +#define SCI_GETPUNCTUATIONCHARS 2649 #define SCI_SETCHARSDEFAULT 2444 #define SCI_AUTOCGETCURRENT 2445 #define SCI_AUTOCGETCURRENTTEXT 2610 -- cgit v1.2.3