зеркало из https://github.com/dotnet/razor.git
Minor change to ```from``` formatting
This commit is contained in:
Родитель
2126808314
Коммит
3c26ca8765
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче