struct
LSP::FoldingRange
- LSP::FoldingRange
- Struct
- Value
- Object
Overview
A range of lines the client can fold.
Included Modules
Defined in:
requests/language_features/folding_range.crConstructors
Instance Method Summary
-
#end_character : Int32 | Nil
The zero-based character where the folding range ends.
-
#end_character=(end_character : Int32 | Nil)
The zero-based character where the folding range ends.
-
#end_line : Int32
The zero-based line where the folding range ends (included in the folded region).
-
#end_line=(end_line : Int32)
The zero-based line where the folding range ends (included in the folded region).
-
#kind : FoldingRangeKind | Nil
The kind of the folding range, if it is not a comment or an import.
-
#kind=(kind : FoldingRangeKind | Nil)
The kind of the folding range, if it is not a comment or an import.
-
#start_character : Int32 | Nil
The zero-based character where the folding range starts.
-
#start_character=(start_character : Int32 | Nil)
The zero-based character where the folding range starts.
-
#start_line : Int32
The zero-based line where the folding range starts.
-
#start_line=(start_line : Int32)
The zero-based line where the folding range starts.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
The zero-based character where the folding range ends.
The zero-based line where the folding range ends (included in the folded region).
The zero-based line where the folding range ends (included in the folded region).
The kind of the folding range, if it is not a comment or an import.
The kind of the folding range, if it is not a comment or an import.
The zero-based character where the folding range starts. Only sent to
clients that did not announce lineFoldingOnly.
The zero-based character where the folding range starts. Only sent to
clients that did not announce lineFoldingOnly.