void (Editor editor) { int indentSize = CodeStyle.getSettings(editor).getContinuationIndentSize(GroovyFileType.GROOVY_FILE_TYPE); EditorModificationUtilEx.insertStringAtCaret(editor, StringUtil.repeatSymbol(' ', indentSize)); }