void (int offsetStart, int offsetEnd) { int startVisLine = offsetToVisualLine(offsetStart); int endVisLine = offsetToVisualLine(offsetEnd); int line = getCaretModel().getPrimaryCaret().getVisualPosition().line; if (startVisLine <= line && endVisLine >= line) { myGutterComponent.escapeCurrentAccessibleLine(); } }