diff options
author | nyamatongwe <unknown> | 2002-01-10 21:58:35 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-01-10 21:58:35 +0000 |
commit | d43d89fa81e0b04b762c2a9d58cb3d86d0400ec2 (patch) | |
tree | b0e72c136fb4a93c63ecdecad31d3c60ddef6209 /src/ScintillaBase.cxx | |
parent | 99502442f5bb65731554e5efb067c2ce0be9fa86 (diff) | |
download | scintilla-mirror-d43d89fa81e0b04b762c2a9d58cb3d86d0400ec2.tar.gz |
Patch from Kengo Jinno to make Japanese entry work on Windows 9x.
More changes from Neil to avoid problem introduced by above with overstrike
mode replacing one character with two.
Comments about Digital Mars ifdefs.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index fe732cabd..6b2bd8553 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -63,10 +63,10 @@ void ScintillaBase::RefreshColourPalette(Palette &pal, bool want) { ct.RefreshColourPalette(pal, want); } -void ScintillaBase::AddCharUTF(char *s, unsigned int len) { +void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { bool acActiveBeforeCharAdded = ac.Active(); if (!acActiveBeforeCharAdded || !ac.IsFillUpChar(*s)) - Editor::AddCharUTF(s, len); + Editor::AddCharUTF(s, len, treatAsDBCS); if (acActiveBeforeCharAdded) AutoCompleteChanged(s[0]); } |