private void AddFactsSuggestionHighlighting( IHighlightingConsumer consumer, string message, IFact startElement, IFact endElement) { var highlighting = new HintRangeHighlighting<IFact>(startElement, endElement, message); IFile file = startElement.GetContainingFile(); if (file != null) { consumer.AddHighlighting(highlighting, file); } }
private void AddSentenceSuggestionHighlighting( IHighlightingConsumer consumer, string message, ISentence startElement, ISentence endElement) { var highlighting = new HintRangeHighlighting <ISentence>(startElement, endElement, message); IFile file = startElement.GetContainingFile(); if (file != null) { consumer.AddHighlighting(highlighting, file); } }
public FactsSimplificationQuickFix(HintRangeHighlighting <IFact> highlighter) { this.highlighter = highlighter; }
public StatementsSimplificationQuickFix(HintRangeHighlighting<ISentence> highlighter) { this.highlighter = highlighter; }
public StatementsSimplificationQuickFix(HintRangeHighlighting <ISentence> highlighter) { this.highlighter = highlighter; }
public FactsSimplificationQuickFix(HintRangeHighlighting<IFact> highlighter) { this.highlighter = highlighter; }