Beispiel #1
0
 @Nullable
 public RangeHighlighter addMarker(ChangeSide changeSide, ChangeHighlighterHolder markup) {
   String text = changeSide.getText();
   if (text != null && text.length() > 0) {
     return addBlock(text, changeSide, markup, myDiffType);
   } else {
     return addLine(markup, changeSide.getStartLine(), myDiffType, SeparatorPlacement.TOP);
   }
 }