void (@NotNull Editor editor, char charTyped, @NotNull DataContext dataContext) { ConsoleViewImpl consoleView = editor.getUserData(CONSOLE_VIEW_IN_EDITOR_VIEW); if (consoleView == null || !consoleView.myState.isRunning() || consoleView.myIsViewer) { if (myOriginalHandler != null) { myOriginalHandler.execute(editor, charTyped, dataContext); } return; } String text = String.valueOf(charTyped); consoleView.type(editor, text); }