---
title: TextEditingCommands
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/texteditingcommands
---

# TextEditingCommands

A built-in group of commands for searching, editing, and transforming selections of text.

## Declaration

```swift
nonisolated struct TextEditingCommands
```

## Overview

Overview These commands are optional and can be explicitly requested by passing a value of this type to the Scene.commands(_:) modifier.

## Topics

### Creating the command group

- [init()](swiftui/texteditingcommands/init().md)

## Relationships

### Conforms To

- [Commands](swiftui/commands.md)

## See Also

### Getting built-in command groups

- [SidebarCommands](swiftui/sidebarcommands.md)
- [TextFormattingCommands](swiftui/textformattingcommands.md)
- [ToolbarCommands](swiftui/toolbarcommands.md)
- [ImportFromDevicesCommands](swiftui/importfromdevicescommands.md)
- [InspectorCommands](swiftui/inspectorcommands.md)
- [EmptyCommands](swiftui/emptycommands.md)
