A LineBasedPartition is a concrete Partition
subclass in which the character '\n' is used to break
up the text into peices (partition elements). This is the most basic, default, standard kind of Partition.
LineBasedPartition [public]
virtual Partition
Partition which implements the partitioning based on NL characters.
As of Led 3.0, it is the only concrete partition supported, and its the overwhelmingly most likely one you would want to use. But - in some applications (notably LogoVista Translator Assistant) - it can be quite handy being able to override how this partitioning takes place.
Member Details |
---|
Check internal consitency of data structures. Don't call this directly. Call Invariant instead. And only call at quiesent times; not in the midst of some update where data structures might not be fully consistent. |
Hook notification that the given partition was updated. See if any newlines were added or deleted, and update the partitions as appropriate. Do not call directly. |