void () { Color color = EditorColorsManager.getInstance().getGlobalScheme().getColor(EditorColors.DOCUMENTATION_COLOR); if (color != null) { myEditor.setBackgroundColor(color); } final EditorSettings settings = myEditor.getSettings(); settings.setAdditionalLinesCount(1); settings.setAdditionalColumnsCount(1); settings.setLineMarkerAreaShown(false); settings.setIndentGuidesShown(false); settings.setLineNumbersShown(false); settings.setFoldingOutlineShown(false); settings.setCaretRowShown(false); myEditor.setBorder(JBUI.Borders.empty(12, 6)); myEditor.getScrollPane().setViewportBorder(JBScrollPane.createIndentBorder()); }