protected virtual void CompilationChanged(object sender, CompilationChangedEventArgs e)
        {
            ITextSnapshot textSnapshot = e.NewCompilation.Text;

            this.TagsChanged?.Invoke(this, new SnapshotSpanEventArgs(new SnapshotSpan(textSnapshot, Span.FromBounds(0, textSnapshot.Length))));
        }
Exemple #2
0
 private void CompilationChanged(object sender, CompilationChangedEventArgs e)
 {
     this.UpdateAllSinks();
 }
Exemple #3
0
 protected override void CompilationChanged(object sender, CompilationChangedEventArgs e)
 {
     base.CompilationChanged(sender, e);
     this.Factory.UpdateErrors(this.BackgroundCompilation.FilePath, this.BackgroundCompilation.CompilationSnapshot);
 }