Interface

TextFieldBuffer.ChangeList

The ordered list of non-overlapping and discontinuous changes performed on a TextFieldBuffer during the current edit or filter operation.

Common
interface ChangeList

The ordered list of non-overlapping and discontinuous changes performed on a TextFieldBuffer during the current edit or filter operation. Changes are listed in the order they appear in the text, not the order in which they were made. Overlapping changes are represented as a single change.

Properties

Common
val changeCount: Int

The number of changes that have been performed.

Functions

getRange

fun getRange(changeIndex: Int): TextRange

Returns the range in the TextFieldBuffer that was changed.


getOriginalRange

fun getOriginalRange(changeIndex: Int): TextRange

Returns the range in the original text that was replaced.