@Override
    default @Nullable Integer getMaxLineNumber(@NotNull Editor editor) {
      for (int i = editor.getDocument().getLineCount(); i > 0; i--) {
        Integer number = convert(editor, i);
        if (number != null) return number;
      }
      return null;
    }
@Override
    default @Nullable Integer getMaxLineNumber(@NotNull Editor editor)