void () { init("line1\n" + "line2"); setColumnModeOn(); Color breakpointColor = Color.RED; getEditor().getMarkupModel().addLineHighlighter(0, HighlighterLayer.CARET_ROW + 1, new TextAttributes(null, breakpointColor, null, null, Font.PLAIN)); Color currentDebuggingLineColor = Color.CYAN; getEditor().getMarkupModel().addLineHighlighter(0, HighlighterLayer.SELECTION - 1, new TextAttributes(null, currentDebuggingLineColor, null, null, Font.PLAIN)); mouse().pressAt(0, 4).dragTo(0, 6).release(); verifySplitting(false, new Segment(0, 4, currentDebuggingLineColor), new Segment(4, 5, SELECTION_BACKGROUND), new Segment(5, 6, currentDebuggingLineColor), new Segment(6, 11, DEFAULT_BACKGROUND)); }