private void HandleCodeCompletionKeyPress_Ex(char c) { switch (c) { case (char)27: //ESC _codeCompWindowEx.DismissSelector(); _textEditor.Focus(); return; default: if (Char.IsControl(c)) { return; } ActiveTextArea.InsertChar(c); _codeCompWindowEx.JumpTo(GetPreviousNonWSLineParts); break; } }
private void HandleCodeCompletionKeyPress_Ex(char c) { switch (c) { case (char)27: //ESC _codeCompWindowEx.DismissSelector(); _textEditor.Focus(); FireAfterCodeCompletionShowed(CodeCompletionType.UserDefinedList, String.Empty, false); return; default: if (Char.IsControl(c)) { return; } ActiveTextArea.InsertChar(c); _codeCompWindowEx.JumpTo(GetPreviousNonWSLineParts); break; } }