Since 3.10.0
| Modifier and Type | Field and Description |
|---|---|
| private String | collapsedText
The text that the client should show when the specified range is collapsed. |
| private Integer | endCharacter
The zero-based character offset before the folded range ends. |
| private int | endLine
The zero-based line number where the folded range ends. |
| private String | kind
Describes the kind of the folding range such as |
| private Integer | startCharacter
The zero-based character offset from where the folded range starts. |
| private int | startLine
The zero-based line number from where the folded range starts. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public Integer | |
| public int | |
| public String | getKind()
Describes the kind of the folding range such as |
| public Integer | |
| public int | |
| public int | |
| public void | setCollapsedText(final String collapsedText)
The text that the client should show when the specified range is collapsed. |
| public void | setEndCharacter(final Integer endCharacter)
The zero-based character offset before the folded range ends. |
| public void | |
| public void | setKind(final String kind)
Describes the kind of the folding range such as |
| public void | setStartCharacter(final Integer startCharacter)
The zero-based character offset from where the folded range starts. |
| public void | |
| public String |
| collapsedText | back to summary |
|---|---|
| private String collapsedText The text that the client should show when the specified range is collapsed. If not defined or not supported by the client, a default will be chosen by the client. Since 3.17.0 | |
| endCharacter | back to summary |
|---|---|
| private Integer endCharacter The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line. | |
| endLine | back to summary |
|---|---|
| private int endLine The zero-based line number where the folded range ends. | |
| kind | back to summary |
|---|---|
| private String kind Describes the kind of the folding range such as | |
| startCharacter | back to summary |
|---|---|
| private Integer startCharacter The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line. | |
| startLine | back to summary |
|---|---|
| private int startLine The zero-based line number from where the folded range starts. | |
| FoldingRange | back to summary |
|---|---|
| public FoldingRange() | |
| FoldingRange | back to summary |
|---|---|
| public FoldingRange(final int startLine, final int endLine) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCollapsedText | back to summary |
|---|---|
| public String getCollapsedText() The text that the client should show when the specified range is collapsed. If not defined or not supported by the client, a default will be chosen by the client. Since 3.17.0 | |
| getEndCharacter | back to summary |
|---|---|
| public Integer getEndCharacter() The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line. | |
| getEndLine | back to summary |
|---|---|
| public int getEndLine() The zero-based line number where the folded range ends. | |
| getKind | back to summary |
|---|---|
| public String getKind() Describes the kind of the folding range such as | |
| getStartCharacter | back to summary |
|---|---|
| public Integer getStartCharacter() The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line. | |
| getStartLine | back to summary |
|---|---|
| public int getStartLine() The zero-based line number from where the folded range starts. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setCollapsedText | back to summary |
|---|---|
| public void setCollapsedText(final String collapsedText) The text that the client should show when the specified range is collapsed. If not defined or not supported by the client, a default will be chosen by the client. Since 3.17.0 | |
| setEndCharacter | back to summary |
|---|---|
| public void setEndCharacter(final Integer endCharacter) The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line. | |
| setEndLine | back to summary |
|---|---|
| public void setEndLine(final int endLine) The zero-based line number where the folded range ends. | |
| setKind | back to summary |
|---|---|
| public void setKind(final String kind) Describes the kind of the folding range such as | |
| setStartCharacter | back to summary |
|---|---|
| public void setStartCharacter(final Integer startCharacter) The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line. | |
| setStartLine | back to summary |
|---|---|
| public void setStartLine(final int startLine) The zero-based line number from where the folded range starts. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |