public static int toOffset(@NotNull Document document, @NotNull LineCol linecol) {
    return linecol.toOffset(document);
  }
public static int toOffset(@NotNull Document document, @NotNull LineCol linecol)