public static void installLineConvertor(@NotNull EditorEx editor, @NotNull DocumentContent content) {
    IntUnaryOperator contentLineConvertor = getContentLineConvertor(content);
    if (contentLineConvertor == null) {
      editor.getGutter().setLineNumberConverter(null);
    }
    else {
      editor.getGutter().setLineNumberConverter(new DiffLineNumberConverter(null, contentLineConvertor));
    }
  }
public static void installLineConvertor(@NotNull EditorEx editor, @NotNull DocumentContent content)