void (EditorEx editor) { super.prepareEditor(editor); Font font = EditorUtil.getEditorFont(); editor.getColorsScheme().setEditorFontName(font.getFontName()); editor.getColorsScheme().setEditorFontSize(font.getSize()); editor.getSettings().setLineCursorWidth(EditorUtil.getDefaultCaretWidth()); }