FoldingRange$Typings extension

on

Properties

end num
The zero-based end line of the range to fold. The folded area ends with the line's last character. To be valid, the end must be zero or larger and smaller than the number of lines in the document.
getter/setter pair
kind FoldingRangeKind
Describes the {@link FoldingRangeKind Kind} of the folding range such as {@link FoldingRangeKind.Comment Comment} or {@link FoldingRangeKind.Region Region}. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See {@link FoldingRangeKind} for an enumeration of all kinds. If not set, the range is originated from a syntax element.
getter/setter pair
start num
The zero-based start line of the range to fold. The folded area starts after the line's last character. To be valid, the end must be zero or larger and smaller than the number of lines in the document.
getter/setter pair