A Fold
has zero or more children, and Folds
thus form a hierarchical structure, with "parent" folds containing the info about any "child" folds they contain.
Fold regions are denoted by a starting and ending offset, but the actual folding is done on a per-line basis, so Fold
instances provide methods for retrieving both starting and ending offsets and lines. The starting and ending offsets/lines are "sticky" and correctly track their positions even as the document is modified.
@author Robert Futrell
@version 1.0
|
|