public interface TextChange
| Modifier and Type | Method and Description |
|---|---|
char [] |
getChars()
Allows to get change text as a char array.
|
int |
getEnd() |
int |
getStart() |
java.lang.CharSequence |
getText()
Allows to retrieve text that is directly affected by the change encapsulated by the current object.
|
int getStart()
int getEnd()
java.lang.CharSequence getText()
char [] getChars()
getText() result.
Generally speaking, this method is introduced just as a step toward existing high-performance services that work in terms
of char arrays. Resulting array is instantiated on-demand via CharArrayUtil.fromSequence(CharSequence), hence, it
doesn't hit memory if, for example, CharSequenceBackedByArray is used as initial change text.