|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.eclipse.jface.text.reconciler.DirtyRegion
A dirty region describes a document range which has been changed.
| Field Summary | |
static String |
INSERT
Identifies an insert operation. |
static String |
REMOVE
Identifies a remove operation. |
| Constructor Summary | |
DirtyRegion(int offset,
int length,
String type,
String text)
Creates a new dirty region. |
|
| Method Summary | |
int |
getLength()
Returns the length of the region. |
int |
getOffset()
Returns the offset of the region. |
String |
getText()
Returns the text that changed as part of the region change. |
String |
getType()
Returns the content type of the region. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String INSERT
public static final String REMOVE
| Constructor Detail |
public DirtyRegion(int offset,
int length,
String type,
String text)
offset - the offset within the document where the change occurredlength - the length of the text within the document that changedtype - the type of change that this region represents: INSERT or REMOVEtext - the substitution text| Method Detail |
public int getOffset()
IRegiongetOffset in interface IRegionorg.eclipse.jface.text.IRegionpublic int getLength()
IRegiongetLength in interface IRegionorg.eclipse.jface.text.IRegionpublic String getType()
ITypedRegiongetType in interface ITypedRegionorg.eclipse.jface.text.ITypedRegionpublic String getText()
|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||