Skip to content

hoverTargetRangeInSource

hoverTargetRangeInSource(source, offset): OffsetRange

hoverTargetRange over a document source, reading a window of the offset’s line rather than the document. The window widens only while an identifier runs into its edge.

TextReadSnapshot

number

OffsetRange