feat: add 'all' option to focus command, fix #2181
This commit is contained in:
@@ -241,6 +241,7 @@ With `autofocus` you can force the cursor to jump in the editor on initializatio
|
||||
| --------- | ------------------------------------------------------ |
|
||||
| `'start'` | Sets the focus to the beginning of the document. |
|
||||
| `'end'` | Sets the focus to the end of the document. |
|
||||
| `'all'` | Selects the whole document. |
|
||||
| `Number` | Sets the focus to a specific position in the document. |
|
||||
| `true` | Enables autofocus. |
|
||||
| `false` | Disables autofocus. |
|
||||
|
||||
Reference in New Issue
Block a user