Minor change to ```from``` formatting

This commit is contained in:
Alex Gavrilov (DEV PROD) 2024-11-20 17:56:47 -08:00
Родитель 2126808314
Коммит 3c26ca8765
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -141,12 +141,9 @@ internal abstract class IntraTextAdornmentTagger<TData, TAdornment>
var visibleSpan = view.TextViewLines.FormattedSpan; var visibleSpan = view.TextViewLines.FormattedSpan;
// Filter out the adornments that are no longer visible. // Filter out the adornments that are no longer visible.
var toRemove = from keyValuePair var toRemove = from keyValuePair in _adornmentCache
in _adornmentCache where !keyValuePair.Key.TranslateTo(visibleSpan.Snapshot, SpanTrackingMode.EdgeExclusive).IntersectsWith(visibleSpan)
#pragma warning disable format select keyValuePair.Key;
where !keyValuePair.Key.TranslateTo(visibleSpan.Snapshot, SpanTrackingMode.EdgeExclusive).IntersectsWith(visibleSpan)
select keyValuePair.Key;
#pragma warning restore format
foreach (var span in toRemove) foreach (var span in toRemove)
{ {