Creates a new folding range.
The start line of the folded range.
The end line of the folded range.
The kind of the folding range.
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.
Describes the Kind of the folding range such as Comment or Region. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See FoldingRangeKind for an enumeration of all kinds. If not set, the range is originated from a syntax element.
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.
A line based folding range. To be valid, start and end line must a zero or larger and smaller than the number of lines in the document. Invalid ranges will be ignored.