Standard implementation of
ILineDiffer
as an incremental diff engine. A
DocumentLineDiffer
can be initialized to some start state. Once connected to a
IDocument
and a reference document has been set, changes reported via the
IDocumentListener
interface will be tracked and the incremental diff updated.
The diff state can be queried using the ILineDiffer
interface.
Since diff information is model information attached to a document, this class implements IAnnotationModel
and can be attached to IAnnotationModelExtension
s.
This class is not supposed to be subclassed.
@since 3.0