Optionalrange: RangeOptionalstartRow: numberOptionalendRow: numberOptionaldepth: numberOptionaltest: FunctionReturns all folds in the document
Optionaldir: numberLooks 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
Optionalside: numberOptionalstartFoldLine: FoldLineReturns the string between folds at the given position.
E.g.
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
Optionaltrim: numberOptionalfoldLine: FoldLineReturns the fold which starts after or contains docRow
OptionalstartFoldLine: FoldLineOptionalstartFoldRow: FoldLineOptionalstartFoldRow: FoldLineChecks 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.
OptionalstartFoldRow: FoldLineOptionaltryToUnfold: booleanOptionaltoggleParent: boolean
Adds a new fold. The new created Fold object or an existing fold object in case the passed in range fits an existing fold exactly.