Next: Mathematics of Extent Ordering, Previous: Format of the Extent Info, Up: Extents [Contents][Index]
Extents can be zero-length, and will end up that way if their endpoints
are explicitly set that way or if their detachable property is nil
and all the text in the extent is deleted. (The exception is open-open
zero-length extents, which are barred from existing because there is
no sensible way to define their properties. Deletion of the text in
an open-open extent causes it to be converted into a closed-open
extent.) Zero-length extents are primarily used to represent
annotations, and behave as follows:
Note that closed-open, non-detachable zero-length extents behave exactly like markers and that open-closed, non-detachable zero-length extents behave like the “point-type” marker in Mule.