aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-08-04 23:21:48 +1000
committernyamatongwe <unknown>2010-08-04 23:21:48 +1000
commitfd7f849fbe76cc2bd2cb243ac927c3c01d37cdd4 (patch)
tree772e44cce6ffe81cb9e412577a889336bbadebe4 /src/Document.h
parente15e8016a5f469101a2efe807c5e91693f22d5e9 (diff)
downloadscintilla-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.h1
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;