mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add small gap to the left of the editor - one line mode only
This commit is contained in:
+3
-1
@@ -68,7 +68,9 @@ public class XDebuggerExpressionEditor extends XDebuggerEditorBase {
|
||||
editor.getSettings().setUseSoftWraps(isUseSoftWraps());
|
||||
editor.getColorsScheme().setEditorFontName(getFont().getFontName());
|
||||
editor.getColorsScheme().setEditorFontSize(getFont().getSize());
|
||||
editor.getContentComponent().setBorder(new CompoundBorder(editor.getContentComponent().getBorder(), JBUI.Borders.emptyLeft(2)));
|
||||
if (multiline) {
|
||||
editor.getContentComponent().setBorder(new CompoundBorder(editor.getContentComponent().getBorder(), JBUI.Borders.emptyLeft(2)));
|
||||
}
|
||||
return editor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user