void (int visualLine, int visualColumn, boolean reversedDirection) { assertEquals(1, getEditor().getCaretModel().getCaretCount()); Caret caret = getEditor().getCaretModel().getPrimaryCaret(); assertEquals(visualLine, caret.getVisualPosition().line); assertEquals(visualColumn, caret.getVisualPosition().column); assertEquals(reversedDirection, caret.isAtRtlLocation()); }