---
title: "selectAll(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstext/selectall(_:)"
---

# selectAll(_:)

This action method selects all of the receiver’s text.

## Declaration

```swift
func selectAll(_ sender: Any?)
```

## See Also

### Action methods for editing

- [copy(_:)](appkit/nstext/copy(_:).md)
- [cut(_:)](appkit/nstext/cut(_:).md)
- [paste(_:)](appkit/nstext/paste(_:).md)
- [copyFont(_:)](appkit/nstext/copyfont(_:).md)
- [pasteFont(_:)](appkit/nstext/pastefont(_:).md)
- [copyRuler(_:)](appkit/nstext/copyruler(_:).md)
- [pasteRuler(_:)](appkit/nstext/pasteruler(_:).md)
- [delete(_:)](appkit/nstext/delete(_:).md)
