aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-08-04 23:21:48 +1000
committernyamatongwe <devnull@localhost>2010-08-04 23:21:48 +1000
commit6920bc68c66c61e8d308d84ccc60fa36ad37025f (patch)
treecbdec078384790b3588818d01b15867d315f192c /src/Document.h
parent16f7ad9f9235e236747f9679337b15dda4dddb46 (diff)
downloadscintilla-mirror-6920bc68c66c61e8d308d84ccc60fa36ad37025f.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;