Interface: LineRange
libs/common/types/GeneralizedRange.LineRange
A range of lines in a document, unlike the standard Range, which is logically between characters. This type is used for things like breakpoints and highlights, which can ether be logically applied to characters or entire lines.
For example, in VSCode, it is possible to highlight an entire line, which will cause the highlight to extend the full width of the screen, rather than just the width of the text in the given line.
Properties
end
• end: number
Last line, inclusive
Defined in
libs/common/types/GeneralizedRange.ts:21
start
• start: number
Defined in
libs/common/types/GeneralizedRange.ts:17
type
• type: "line"