@NotNull LogicalPosition getLogicalPosition() {
    if (myLogicalPosition == null) {
      myLogicalPosition = myEditor.visualToLogicalPosition(getVisualPosition());
    }
    return myLogicalPosition;
  }
@NotNull LogicalPosition getLogicalPosition()