|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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
Definitions of edit types |
static String |
REMOVE
|
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 REMOVE
text
- the substitution textMethod Detail |
public int getOffset()
IRegion
getOffset
in interface IRegion
public int getLength()
IRegion
getLength
in interface IRegion
public String getType()
ITypedRegion
getType
in interface ITypedRegion
public String getText()
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |