public MergeView SetDocument(MergeDocument doc, MergeLocation location) { _doc = doc; _location = location; _editor.Text = GetDocument(); ConfigureLineStarts(); _view.BackgroundRenderers.Add(new DiffBackground(this)); _view.InvalidateLayer(KnownLayer.Background); return(this); }
public MergeView SetDocument(MergeDocument doc, MergeLocation location) { _doc = doc; _location = location; _editor.Text = GetDocument(); ConfigureLineStarts(); _view.BackgroundRenderers.Add(new DiffBackground(this)); _view.InvalidateLayer(KnownLayer.Background); return this; }