void (LogicalPosition logicalPosition, int offset, VisualPosition visualPosition) { assertEquals("Wrong logicalPosition->offset calculation", offset, getEditor().logicalPositionToOffset(logicalPosition)); assertVisualPositionsEqual("Wrong logicalPosition->visualPosition calculation", visualPosition, getEditor().logicalToVisualPosition(logicalPosition)); }