Module: util/getDisplayLineMap
Functions
getDisplayLineMap
▸ getDisplayLineMap(editor
, extraLines?
): Map
<number
, number
>
Returns a map from line numbers in the file to display lines, which skip folded sections etc.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
editor | TextEditor | undefined | A visible editor |
extraLines | number [] | [] | Optional extra lines to include in the map |
Returns
Map
<number
, number
>
Defined in
util/getDisplayLineMap.ts:11