void (String textBefore, LogicalPosition caretBefore, String textAfter, LogicalPosition caretAfter) { configureFromFileText(getTestName(false) + ".java", textBefore); getEditor().getSettings().setVirtualSpace(true); getEditor().getCaretModel().moveToLogicalPosition(caretBefore); backspace(); checkResultByText(textAfter); assertEquals(caretAfter, getEditor().getCaretModel().getLogicalPosition()); }