public class DirtyRegion extends Object implements ITypedRegion
Modifier and Type | Field and Description |
---|---|
static String |
INSERT
Identifies an insert operation.
|
static String |
REMOVE
Identifies a remove operation.
|
Constructor and Description |
---|
DirtyRegion(int offset,
int length,
String type,
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.
|
String |
getText()
Returns the text that changed as part of the region change.
|
String |
getType()
Returns the content type of the region.
|
public static final String INSERT
public static final String REMOVE
public int getOffset()
IRegion
public int getLength()
IRegion
public String getType()
ITypedRegion
getType
in interface ITypedRegion
public String getText()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.