void () { init(" line1\n" + " line2"); Color breakpointColor = Color.RED; getEditor().getMarkupModel().addLineHighlighter(0, HighlighterLayer.CARET_ROW + 1, new TextAttributes(null, breakpointColor, null, null, Font.PLAIN)); verifySplitting(false, new Segment(0, 5, breakpointColor), new Segment(5, 10, breakpointColor), new Segment(10, 11, breakpointColor), new Segment(11, 16, DEFAULT_BACKGROUND), new Segment(16, 21, DEFAULT_BACKGROUND)); }