Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected override IEnumerable<SnapshotSpan> GetSpansToTag(ITextView? textView,

// if we're the current view, attempt to just get what's visible, plus 10 lines above and below. This will
// ensure that moving up/down a few lines tends to have immediate accurate results.
var visibleSpanOpt = textView.GetVisibleLinesSpan(subjectBuffer, extraLines: 10);
var visibleSpanOpt = textView.GetVisibleLinesSpan(subjectBuffer, extraLines: s_standardLineCountAroundViewportToTag);
if (visibleSpanOpt is null)
{
// couldn't figure out the visible span. So the InView tagger will need to tag everything, and the
Expand Down