static Change fromRanges( @NotNull TextRange baseRange, @NotNull TextRange versionRange, @NotNull ChangeList changeList) { ChangeType type = ChangeType.fromRanges(baseRange, versionRange); return new SimpleChange(type, baseRange, versionRange, changeList); }
@Override public void onApplied() { myType = ChangeType.deriveApplied(myType); for (SimpleChangeSide side : mySides) { ChangeHighlighterHolder highlighterHolder = side.getHighlighterHolder(); highlighterHolder.setActions(new AnAction[0]); highlighterHolder.updateHighlighter(side, myType); } myChangeList.apply(this); }