---
title: "selectAll"
description: "Places the selection around all the text."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun TextFieldBuffer.selectAll()
```


Places the selection around all the text.



