public static int yPositionToLogicalLine(@NotNull Editor editor, @NotNull Point point) {
    return yPositionToLogicalLine(editor, point.y);
  }
public static int yPositionToLogicalLine(@NotNull Editor editor, @NotNull Point point)