public CodeCoverageMargin(ITextView textView)
 {
     this.textView = textView;
     marginView    = new CodeCoverageMarginView(textView, MarginSize, Settings.Default.MarginColors);
     this.textView.LayoutChanged += OnTextViewLayoutChanged;
     StartListeningForMaginChanges();
     UpdateCoverage();
 }
Example #2
0
 public CodeCoverageMargin(ITextView textView)
 {
     this.textView = textView;
     marginView    = new CodeCoverageMarginView(textView, MarginSize);
     this.textView.LayoutChanged += OnTextViewLayoutChanged;
     CoveragePadWidget.SelectedTestProjectChanged += HandleSelectedTestProjectChanged;
     CoveragePadWidget.CoverageResultsUpdated     += HandleCoverageResultsUpdated;
     CoveragePadWidget.CoverageResultsCleared     += HandleCoverageResultsCleared;
     UpdateCoverage();
 }