X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39178e3bdf1944bb73ee64586ba2390c505bee24..2fe212b0336512aac9eace69fab09ce856b0bf4b:/contrib/src/stc/ScintillaWX.cpp?ds=sidebyside diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index 62d53360e5..103ce92796 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -421,10 +421,7 @@ void ScintillaWX::DoButtonMove(Point pt) { void ScintillaWX::DoAddChar(char ch) { - //bool acActiveBeforeCharAdded = ac.Active(); AddChar(ch); - //if (acActiveBeforeCharAdded) - // AutoCompleteChanged(ch); } int ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed) { @@ -465,6 +462,7 @@ int ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* cons } int rv = KeyDown(key, shift, ctrl, alt, consumed); + if (key) return rv; else