diff options
| author | nyamatongwe <unknown> | 2010-08-04 23:21:48 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-08-04 23:21:48 +1000 |
| commit | fd7f849fbe76cc2bd2cb243ac927c3c01d37cdd4 (patch) | |
| tree | 772e44cce6ffe81cb9e412577a889336bbadebe4 /src/Document.h | |
| parent | e15e8016a5f469101a2efe807c5e91693f22d5e9 (diff) | |
| download | scintilla-mirror-fd7f849fbe76cc2bd2cb243ac927c3c01d37cdd4.tar.gz | |
Added NextPosition as more efficient way to iterate through DBCS characters.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index ffadbade3..d87840872 100644 --- a/src/Document.h +++ b/src/Document.h @@ -230,6 +230,7 @@ public: int LenChar(int pos); bool InGoodUTF8(int pos, int &start, int &end); int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); + int NextPosition(int pos, int moveDir); int SCI_METHOD CodePage() const; bool SCI_METHOD IsDBCSLeadByte(char ch) const; |
