Returns all folds in the document
Looks up a fold at a given row/column. Possible values for side:
-1: ignore a fold if fold.start = row/column
+1: ignore a fold if fold.end = row/column
Returns the string between folds at the given position. E.g.
foo
foo
foo
where | means the position of row/column
The trim option determs if the return string should be trimed according to the "side" passed with the trim value:
E.g.
foo
foo
fo|o
Checks if a given documentRow is folded. This is true if there are some folded parts such that some parts of the line is still visible.
Generated using TypeDoc
Adds a new fold.