🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

TextFieldBuffer.ChangeList

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

Source set: Common
public 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

changeCount

Source set: Common
public val changeCount: Int

The number of changes that have been performed.

Functions

getRange

Source set: Common
public fun getRange(changeIndex: Int): TextRange

Returns the range in the TextFieldBuffer that was changed.

Throws: IndexOutOfBoundsException

If changeIndex is not in 0, [changeCount).

getOriginalRange

Source set: Common
public fun getOriginalRange(changeIndex: Int): TextRange

Returns the range in the original text that was replaced.

Throws: IndexOutOfBoundsException

If changeIndex is not in 0, [changeCount).