Hi, my custom QuickFix class inherited IHighlightingsSetScopedAction interface 3 years ago. Now after migrate to the latest SDK I see that
IHighlightingsSetScopedAction is missing.
Previously this interface look like that:
public interface IHighlightingsSetScopedAction : IScopedAction
{
Action<ITextControl> ExecuteAction(IEnumerable<HighlightingInfo> highlightings, ISolution solution, IProgressIndicator progress);
}
and my class use it as:
public abstract class SPQuickFix<THighlighting, TElement> : QuickFixBase, IHighlightingsSetScopedAction
{
public Action<ITextControl> ExecuteAction(IEnumerable<HighlightingInfo> highlightings, ISolution solution, IProgressIndicator progress)
{
foreach (HighlightingInfo highlightingInfo in highlightings.AsList().WithProgress(progress, BulkText))
{
if (highlightingInfo.Highlighting is THighlighting highlighting && highlighting.Element.IsValid())
{
Fix(highlighting.Element);
}
}
return null;
}
}
Is there a replacement of this interface in new SDK or something else?