aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-06-23 04:22:01 +0000
committernyamatongwe <unknown>2007-06-23 04:22:01 +0000
commit21619be4e971569b88ea9b551416991a7bedc217 (patch)
tree118956af9c8e379f06510415bb5514b97470ad5b /src/Editor.cxx
parent81a80dc05eab0c39972b9ffac5f801a6905cd7e2 (diff)
downloadscintilla-mirror-21619be4e971569b88ea9b551416991a7bedc217.tar.gz
Fixes for bug #1732146, Armenian input on Windows by registering the
Scintilla windows class as wide and using GetMessageW/DispatchMessageW in the SciTE event loop.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f96ef1bfc..9c4c77d3c 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3238,6 +3238,7 @@ void Editor::AddChar(char ch) {
AddCharUTF(s, 1);
}
+// AddCharUTF inserts an array of bytes which may or may not be in UTF-8.
void Editor::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) {
bool wasSelection = currentPos != anchor;
ClearSelection();