Table of Contents

Class FoldingRange

Namespace
NMF.AnyText
Assembly
NMF.AnyText.Core.dll

Denotes a part in a parsed document that can be folded away (hidden). Analogous to the LspTypes FoldingRange interface.

public class FoldingRange
Inheritance
FoldingRange
Inherited Members

Properties

EndCharacter

The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line.

public uint EndCharacter { get; set; }

Property Value

uint

EndLine

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.

public uint EndLine { get; set; }

Property Value

uint

Kind

Describes the kind of the folding range. Supports values "comment", "imports" and "region".

public string Kind { get; set; }

Property Value

string

StartCharacter

The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line.

public uint StartCharacter { get; set; }

Property Value

uint

StartLine

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.

public uint StartLine { get; set; }

Property Value

uint