void (@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)); } }