diff options
author | nyamatongwe <devnull@localhost> | 2006-02-25 02:43:03 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-02-25 02:43:03 +0000 |
commit | 818cf866da84841e0f46c8f7b717b18926032f25 (patch) | |
tree | 2bdb32179d450bb6b0356d501eccb7bb978c5098 /src/Document.h | |
parent | 89cb4070bf10f7143df9a40aed89693b029f7e2e (diff) | |
download | scintilla-mirror-818cf866da84841e0f46c8f7b717b18926032f25.tar.gz |
Patch from Greg Smith with further modifications moved character
classification from Document into a separate CharClassify class and file
and uses this from RESearch for regular expression word end \< and \>
instead of built-in table.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Document.h b/src/Document.h index 6ff858b92..d774d5664 100644 --- a/src/Document.h +++ b/src/Document.h @@ -93,7 +93,7 @@ public: private: int refCount; CellBuffer cb; - charClassification charClass[256]; + CharClassify charClass; char stylingMask; int endStyled; int styleClock; @@ -207,7 +207,7 @@ public: void ChangeCase(Range r, bool makeUpperCase); void SetDefaultCharClasses(bool includeWordClass); - void SetCharClasses(const unsigned char *chars, charClassification newCharClass); + void SetCharClasses(const unsigned char *chars, CharClassify::cc newCharClass); void SetStylingBits(int bits); void StartStyling(int position, char mask); bool SetStyleFor(int length, char style); @@ -239,7 +239,7 @@ public: private: void CheckReadOnly(); - charClassification WordCharClass(unsigned char ch); + CharClassify::cc WordCharClass(unsigned char ch); bool IsWordStartAt(int pos); bool IsWordEndAt(int pos); bool IsWordAt(int start, int end); |