public class TextReplacement extends AbstractTextSegment implements ITextReplacement
EMPTY_REGION
Constructor and Description |
---|
TextReplacement(ITextRegionAccess tokens,
int offset,
int length,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
int |
getOffset() |
java.lang.String |
getReplacementText() |
ITextRegionAccess |
getTextRegionAccess() |
java.lang.String |
toString() |
compareTo, contains, contains, equals, getEndOffset, getIndentation, getLineCount, getText, hashCode, isMultiline, merge, splitIntoLines
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEndOffset, getIndentation, getLineCount, getText, isMultiline, splitIntoLines
contains, contains, merge
public TextReplacement(ITextRegionAccess tokens, int offset, int length, java.lang.String text)
public int getLength()
getLength
in interface ITextRegion
public int getOffset()
getOffset
in interface ITextRegion
public java.lang.String getReplacementText()
getReplacementText
in interface ITextReplacement
public ITextRegionAccess getTextRegionAccess()
getTextRegionAccess
in interface ITextSegment
public java.lang.String toString()
toString
in class java.lang.Object