From 21b66126441a573050340f344972f35de7f1a52d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 6 Apr 2000 08:43:00 +0000 Subject: Initial Unicode support code. --- src/Document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 7ab187573..ae25d69f4 100644 --- a/src/Document.h +++ b/src/Document.h @@ -87,6 +87,7 @@ public: int stylingBitsMask; int eolMode; + // dbcsCodePage can also be SC_CP_UTF8 to enable UTF-8 mode int dbcsCodePage; int tabInChars; @@ -99,6 +100,7 @@ public: int LineFromPosition(int pos); int ClampPositionIntoDocument(int pos); bool IsCrLf(int pos); + int LenChar(int pos); int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); // Gateways to modifying document -- cgit v1.2.3