void (int offset, int logicalColumn, int visualColumn) { CaretModel caretModel = getFirstEditor().getCaretModel(); assertEquals(offset, caretModel.getOffset()); assertEquals(0, caretModel.getLogicalPosition().line); assertEquals(logicalColumn, caretModel.getLogicalPosition().column); assertEquals(0, caretModel.getVisualPosition().line); assertEquals(visualColumn, caretModel.getVisualPosition().column); }