|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.reconciler.DirtyRegion
public class 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 REMOVEtext - the substitution text| Method Detail |
|---|
public int getOffset()
IRegion
getOffset in interface IRegionpublic int getLength()
IRegion
getLength in interface IRegionpublic String getType()
ITypedRegion
getType in interface ITypedRegionpublic String getText()
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.