aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-06 08:43:00 +0000
committernyamatongwe <unknown>2000-04-06 08:43:00 +0000
commitf129e6862882879aed3c8338243dbb43c17721ed (patch)
tree1352720978356ddc213962ccf1dc248c3b061491 /src/Document.h
parentdae4eea6225cd2f3ed9f2e4dfe46606cc9a0743f (diff)
downloadscintilla-mirror-f129e6862882879aed3c8338243dbb43c17721ed.tar.gz
Initial Unicode support code.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 2 insertions, 0 deletions
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