Skip to content

revealInlineMap

const revealInlineMap: (map, ranges) => InlineMap

Drops every replacement the given ranges touch, along with the rest of each touched group. Feeding the caret and selections through this is what makes markdown source reappear under the cursor: mapping and painting both read the revealed map, so they can never disagree about what is hidden.

InlineMap

readonly TextOffsetRange[]

InlineMap