aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-06-23 04:22:01 +0000
committernyamatongwe <devnull@localhost>2007-06-23 04:22:01 +0000
commite59983b9d2615428729b24f94216ec33bdc5c2a6 (patch)
tree118956af9c8e379f06510415bb5514b97470ad5b /src
parent94cd1460c1434763252b1d6f4df9d883ed7ce895 (diff)
downloadscintilla-mirror-e59983b9d2615428729b24f94216ec33bdc5c2a6.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')
-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();