From 6920bc68c66c61e8d308d84ccc60fa36ad37025f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 4 Aug 2010 23:21:48 +1000 Subject: Added NextPosition as more efficient way to iterate through DBCS characters. --- src/Document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Document.h') 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; -- cgit v1.2.3