@CalledInAwt
  public TextMergeChange(
      @NotNull MergeLineFragment fragment, int index, @NotNull TextMergeViewer viewer) {
    super(fragment, viewer.getViewer().getEditors(), ComparisonPolicy.DEFAULT);
    myMergeViewer = viewer;
    myViewer = viewer.getViewer();

    myIndex = index;
    myFragment = fragment;
    myStartLine = myFragment.getStartLine(ThreeSide.BASE);
    myEndLine = myFragment.getEndLine(ThreeSide.BASE);

    installHighlighter();
  }
 @Override
 public int getEndLine(@NotNull ThreeSide side) {
   if (side == ThreeSide.BASE) return getEndLine();
   return myFragment.getEndLine(side);
 }