public class DirtyRegion extends java.lang.Object implements ITypedRegion
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INSERT
Identifies an insert operation.
|
static java.lang.String |
REMOVE
Identifies a remove operation.
|
| Constructor and Description |
|---|
DirtyRegion(int offset,
int length,
java.lang.String type,
java.lang.String text)
Creates a new dirty region.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the region.
|
int |
getOffset()
Returns the offset of the region.
|
java.lang.String |
getText()
Returns the text that changed as part of the region change.
|
java.lang.String |
getType()
Returns the content type of the region.
|
public static final java.lang.String INSERT
public static final java.lang.String REMOVE
public DirtyRegion(int offset,
int length,
java.lang.String type,
java.lang.String text)
public int getOffset()
IRegionpublic int getLength()
IRegionpublic java.lang.String getType()
ITypedRegiongetType in interface ITypedRegionpublic java.lang.String getText()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.