diff options
author | nyamatongwe <devnull@localhost> | 2001-10-28 01:28:28 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-10-28 01:28:28 +0000 |
commit | 32056de116bf65368ccff2e887d29fbf81075bed (patch) | |
tree | 493a0791cb7757d3e8397e242eef5c4f764a5aee /src/Document.cxx | |
parent | 8320a969df7367a3f62ea1c26929c7d03cda2549 (diff) | |
download | scintilla-mirror-32056de116bf65368ccff2e887d29fbf81075bed.tar.gz |
Removed platform-specific headers from Platform.h and thus stopped
visibility of these headers to most code.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 7ffb651ba..213a72d6a 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -230,7 +230,7 @@ bool Document::IsDBCS(int pos) { while (startLine > 0 && cb.CharAt(startLine) != '\r' && cb.CharAt(startLine) != '\n') startLine--; while (startLine <= pos) { - if (IsDBCSLeadByteEx(dbcsCodePage, cb.CharAt(startLine))) { + if (Platform::IsDBCSLeadByte(dbcsCodePage, cb.CharAt(startLine))) { startLine++; if (startLine >= pos) return true; @@ -322,7 +322,7 @@ int Document::MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd) { while (startLine < pos) { if (atLeadByte) atLeadByte = false; - else if (IsDBCSLeadByteEx(dbcsCodePage, cb.CharAt(startLine))) + else if (Platform::IsDBCSLeadByte(dbcsCodePage, cb.CharAt(startLine))) atLeadByte = true; else atLeadByte = false; |