---
title: "SetComposingRegionCommand"
description: "Mark a certain region of text as composing text.

See
[`setComposingRegion`](https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#setComposingRegion(int,%2520int))."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

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


```kotlin
class SetComposingRegionCommand(val start: Int, val end: Int) : EditCommand
```


Mark a certain region of text as composing text.

See
``setComposingRegion``(https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#setComposingRegion(int,%2520int)).

#### Parameters

| | |
| --- | --- |
| start | The inclusive start offset of the composing region. |
| end | The exclusive end offset of the composing region |




