aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-06 08:43:00 +0000
committernyamatongwe <devnull@localhost>2000-04-06 08:43:00 +0000
commit21b66126441a573050340f344972f35de7f1a52d (patch)
tree1352720978356ddc213962ccf1dc248c3b061491 /src/Document.h
parent884b65511efa0fa9c2172d2e70bc73f1fcd30e47 (diff)
downloadscintilla-mirror-21b66126441a573050340f344972f35de7f1a52d.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