コード例 #1
0
ファイル: MergeView.cs プロジェクト: 4-R-Forum/InnovatorAdmin
 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);
 }
コード例 #2
0
 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;
 }