diff options
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index c7ff8e069..d58c5efe5 100644 --- a/src/Document.h +++ b/src/Document.h @@ -228,9 +228,9 @@ public: int ClampPositionIntoDocument(int pos); bool IsCrLf(int pos); int LenChar(int pos); - bool InGoodUTF8(int pos, int &start, int &end); + bool InGoodUTF8(int pos, int &start, int &end) const; int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); - int NextPosition(int pos, int moveDir); + int NextPosition(int pos, int moveDir) const; bool NextCharacter(int &pos, int moveDir); // Returns true if pos changed int SCI_METHOD CodePage() const; bool SCI_METHOD IsDBCSLeadByte(char ch) const; |