Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
        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;
            }
        }