void (Editor editor, char c) { EditorActionManager.getInstance(); TypedAction action = TypedAction.getInstance(); DataContext dataContext = ((EditorEx)editor).getDataContext(); action.actionPerformed(editor, c, dataContext); }