<div class='sourceset sourceset-common'>Common</div>

```kotlin
interface ChangeList
```

The ordered list of non-overlapping and discontinuous changes performed on a
[TextFieldBuffer](/jetpack-compose/androidx.compose.foundation/foundation/classes/TextFieldBuffer) during the current [edit](/jetpack-compose/androidx.compose.foundation/foundation/classes/TextFieldState) or
[filter](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/InputTransformation) 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

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val changeCount: Int
```

The number of changes that have been performed.

## Functions

<h2 id="getrange-changeindex">getRange</h2>

```kotlin
fun getRange(changeIndex: Int): TextRange
```

Returns the range in the [TextFieldBuffer](/jetpack-compose/androidx.compose.foundation/foundation/classes/TextFieldBuffer) that was changed.

<hr class="docs-overload-divider">

<h2 id="getoriginalrange-changeindex">getOriginalRange</h2>

```kotlin
fun getOriginalRange(changeIndex: Int): TextRange
```

Returns the range in the original text that was replaced.