Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DedSec256 committed Nov 7, 2024
1 parent 13c49c3 commit 300f265
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,11 @@ type PipeChainHighlightingProcess(fsFile, settings: IContextBoundSettingsStore,

fsFile.Accept(PipeOperatorVisitor(sameLinePipeHints), consumer)

let visibleItems = consumer.VisibleItems
let remainingHighlightings =
if visibleItems.Count > 0 then
if consumer.HasVisibleItems then
// Partition the expressions to adorn by whether they're visible in the viewport or not
// Adorn visible expressions first
let visibleHighlightings = adornExprs visibleItems
let visibleHighlightings = adornExprs consumer.VisibleItems
committer.Invoke(DaemonStageResult(visibleHighlightings, visibleRange))

// Finally adorn expressions that aren't visible in the viewport
Expand Down

0 comments on commit 300f265

Please sign in to comment.