void () { EditorComponentImpl editor = getEditorComponent(); int w = getWidth(); int h = getHeight(); int lineStartGutterWidth = lineStartGutter.getPreferredSize().width; lineStartGutter.setBounds(0, 0, lineStartGutterWidth + gutterContentProvider.getLineStartGutterOverlap(editor.getEditor()), h); editor.setBounds(lineStartGutterWidth, 0, w - lineStartGutterWidth, h); int lineEndGutterWidth = lineEndGutter.getPreferredSize().width; lineEndGutter.setBounds(lineStartGutterWidth + (w - lineEndGutterWidth - editor.getEditor().getScrollPane().getVerticalScrollBar().getWidth()), 0, lineEndGutterWidth, h); }