mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-04 04:47:29 +03:00
Added cheatsheet description for short block (#2644)
## Checklist - [/] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [x] I have not broken the cheatsheet --------- Co-authored-by: Phil Cohen <phillip@phillip.io>
This commit is contained in:
parent
a6d5556246
commit
36020662ef
@ -9,7 +9,8 @@ def get_scopes():
|
||||
"scopeType",
|
||||
{
|
||||
"argumentOrParameter": "Argument",
|
||||
"boundedNonWhitespaceSequence": "Non whitespace sequence stopped by surrounding pair delimeters",
|
||||
"boundedNonWhitespaceSequence": "Non-whitespace sequence bounded by surrounding pair delimeters",
|
||||
"boundedParagraph": "Paragraph bounded by surrounding pair delimeters",
|
||||
},
|
||||
),
|
||||
{
|
||||
|
@ -276,7 +276,7 @@ The `"block"` modifier expands to above and below the target to select lines unt
|
||||
|
||||
##### `"short block"`
|
||||
|
||||
The `"short block"` scope is like `"block"`, but stops not only at empty lines but also stops if it would exit the nearest [surrounding pair](#surrounding-pair).
|
||||
The `"short block"` scope is like `"block"`, but in addition to stopping at empty lines, it will also stop at the boundary of a [surrounding pair](#surrounding-pair).
|
||||
For example, given the text...
|
||||
|
||||
```
|
||||
@ -350,7 +350,7 @@ Saying `"every paint"` would select `foo.bar` and `baz|bongo`.
|
||||
|
||||
##### `"short paint"`
|
||||
|
||||
The `"short paint"` scope is like `"paint"`, but stops not only at whitespace but also stops if it would exit the nearest [surrounding pair](#surrounding-pair). For example, given the text
|
||||
The `"short paint"` scope is like `"paint"`, but in addition to stopping at whitespace, it will also stop at the boundary of a [surrounding pair](#surrounding-pair). For example, given the text
|
||||
|
||||
```
|
||||
(aaa[bbb]ccc ddd)
|
||||
|
Loading…
Reference in New Issue
Block a user