Class DirtyRegion
java.lang.Object
org.eclipse.jface.text.reconciler.DirtyRegion
- All Implemented Interfaces:
IRegion
,ITypedRegion
A dirty region describes a document range which has been changed.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDirtyRegion
(int offset, int length, String type, String text) Creates a new dirty region. -
Method Summary
-
Field Details
-
INSERT
Identifies an insert operation.- See Also:
-
REMOVE
Identifies a remove operation.- See Also:
-
-
Constructor Details
-
Method Details
-
getOffset
public int getOffset()Description copied from interface:IRegion
Returns the offset of the region. -
getLength
public int getLength()Description copied from interface:IRegion
Returns the length of the region. -
getType
Description copied from interface:ITypedRegion
Returns the content type of the region.- Specified by:
getType
in interfaceITypedRegion
- Returns:
- the content type of the region
-
getText
Returns the text that changed as part of the region change.- Returns:
- the changed text
-