Eclipse Platform
2.0

org.eclipse.jface.text
Interface IDocumentPartitionerExtension

All Known Implementing Classes:
DefaultPartitioner, RuleBasedPartitioner

public interface IDocumentPartitionerExtension

Extension interface for IDocumentPartitioner. Extends the original concept of a document partitioner by returning the minimal region that includes all partition changes causes by the invocation of the document partitioner.

Since:
2.0

Method Summary
 IRegion documentChanged2(DocumentEvent event)
          The document has been changed.
 

Method Detail

documentChanged2

public IRegion documentChanged2(DocumentEvent event)
The document has been changed. The partitioner updates the document's partitioning and returns in which region the partition types have changed. This method always returns the surrounding region. Will be called by the connected document and is not intended to be used by clients other than the connected document.

Parameters:
event - the event describing the document change
Returns:
the region of the document in which the partition type changed

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.