diff options
| author | nyamatongwe <devnull@localhost> | 2012-05-26 13:26:11 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2012-05-26 13:26:11 +1000 |
| commit | e1370f834348a12fea75ad883a0d801dfd1b9d8d (patch) | |
| tree | d5bbf357b84a4794326f3cf3572b2b9d39f96f7e /src/Document.h | |
| parent | 44241ccc28b561efcdbda77350bb5435b11b3d47 (diff) | |
| download | scintilla-mirror-e1370f834348a12fea75ad883a0d801dfd1b9d8d.tar.gz | |
For case-insensitive UTF-8 searching, use UTF8Classify for finding valid
character width so compatible with other similar code. Optimize treatment of
single byte ASCII characters and also optimize loop conditions. These
mostly make up for the performance decrease from calling UTF8Classify.
Add support definitions UTF8MaxBytes and UTF8IsAscii in UniConversion.
Remove ExtractChar as no longer needed.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index ec41603eb..18bf00a3d 100644 --- a/src/Document.h +++ b/src/Document.h @@ -352,7 +352,6 @@ public: int NextWordEnd(int pos, int delta); int SCI_METHOD Length() const { return cb.Length(); } void Allocate(int newSize) { cb.Allocate(newSize); } - size_t ExtractChar(int pos, char *bytes); bool MatchesWordOptions(bool word, bool wordStart, int pos, int length); long FindText(int minPos, int maxPos, const char *search, bool caseSensitive, bool word, bool wordStart, bool regExp, int flags, int *length, CaseFolder *pcf); |
