private void createHighlighter(@NotNull Side side, boolean ignored) { Editor editor = myViewer.getEditor(side); TextDiffType type = DiffUtil.getLineDiffType(myFragment); int startLine = side.getStartLine(myFragment); int endLine = side.getEndLine(myFragment); myHighlighters.addAll( DiffDrawUtil.createHighlighter(editor, startLine, endLine, type, ignored)); myHighlighters.addAll(DiffDrawUtil.createLineMarker(editor, startLine, endLine, type, false)); }
private void createHighlighter(@NotNull ThreeSide side) { Editor editor = side.select(myViewer.getEditors()); TextDiffType type = getDiffType(); boolean resolved = isResolved(side); int startLine = getStartLine(side); int endLine = getEndLine(side); boolean ignored = !resolved && myInnerFragments != null; myHighlighters.addAll( DiffDrawUtil.createHighlighter(editor, startLine, endLine, type, ignored, resolved)); myHighlighters.addAll( DiffDrawUtil.createLineMarker(editor, startLine, endLine, type, resolved)); }