void (int offset, int logicalColumn, int visualColumn, int selectionStartOffset, int selectionEndOffset) { checkCaretPosition(offset, logicalColumn, visualColumn); assertEquals(selectionStartOffset, getEditor().getSelectionModel().getSelectionStart()); assertEquals(selectionEndOffset, getEditor().getSelectionModel().getSelectionEnd()); }