LSP::FoldingRange
Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object
A range of lines the client can fold.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew
SourceInstance methods
end_character=(end_character : Int32 | Nil)
The zero-based character where the folding range ends.
end_line=(end_line : Int32)
The zero-based line where the folding range ends (included in the folded region).
kind=(kind : FoldingRangeKind | Nil)
The kind of the folding range, if it is not a comment or an import.
start_character
The zero-based character where the folding range starts. Only sent to
clients that did not announce lineFoldingOnly.
start_character=(start_character : Int32 | Nil)
The zero-based character where the folding range starts. Only sent to
clients that did not announce lineFoldingOnly.