public class PlainTextChange extends TextChange<java.lang.String,PlainTextChange>
GenericStyledArea
.inserted, position, removed
Constructor | Description |
---|---|
PlainTextChange(int position,
java.lang.String removed,
java.lang.String inserted) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
concat(java.lang.String a,
java.lang.String b) |
|
protected PlainTextChange |
create(int position,
java.lang.String removed,
java.lang.String inserted) |
|
protected int |
insertedLength() |
|
protected int |
removedLength() |
|
protected java.lang.String |
sub(java.lang.String s,
int from,
int to) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getInserted, getInsertionEnd, getNetLength, getPosition, getRemovalEnd, getRemoved, hashCode, invert, isIdentity, mergeWith, toString
public PlainTextChange(int position, java.lang.String removed, java.lang.String inserted)
protected int removedLength()
removedLength
in class TextChange<java.lang.String,PlainTextChange>
protected int insertedLength()
insertedLength
in class TextChange<java.lang.String,PlainTextChange>
protected final java.lang.String concat(java.lang.String a, java.lang.String b)
concat
in class TextChange<java.lang.String,PlainTextChange>
protected final java.lang.String sub(java.lang.String s, int from, int to)
sub
in class TextChange<java.lang.String,PlainTextChange>
protected final PlainTextChange create(int position, java.lang.String removed, java.lang.String inserted)
create
in class TextChange<java.lang.String,PlainTextChange>