@Override
  public @NotNull VisualPosition getLeadSelectionPosition() {
    return myEditor.offsetToVisualPosition(getLeadSelectionOffset());
  }
@Override
  public @NotNull VisualPosition getLeadSelectionPosition()