void (Editor editor, DataContext dataContext, EditorActionHandler originalHandler, boolean isInsertIndent) { if (isInsertIndent) { originalHandler.execute(editor, editor.getCaretModel().getCurrentCaret(), dataContext); } else { EditorModificationUtilEx.insertStringAtCaret(editor, "\n"); } }