Skip to content

Commit 3602066

Browse files
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 <[email protected]>
1 parent a6d5556 commit 3602066

File tree

2 files changed

+4
-3
lines changed
  • cursorless-talon/src/cheatsheet/sections
  • packages/cursorless-org-docs/src/docs/user

2 files changed

+4
-3
lines changed

cursorless-talon/src/cheatsheet/sections/scopes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def get_scopes():
99
"scopeType",
1010
{
1111
"argumentOrParameter": "Argument",
12-
"boundedNonWhitespaceSequence": "Non whitespace sequence stopped by surrounding pair delimeters",
12+
"boundedNonWhitespaceSequence": "Non-whitespace sequence bounded by surrounding pair delimeters",
13+
"boundedParagraph": "Paragraph bounded by surrounding pair delimeters",
1314
},
1415
),
1516
{

packages/cursorless-org-docs/src/docs/user/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ The `"block"` modifier expands to above and below the target to select lines unt
276276

277277
##### `"short block"`
278278

279-
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).
279+
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).
280280
For example, given the text...
281281

282282
```
@@ -350,7 +350,7 @@ Saying `"every paint"` would select `foo.bar` and `baz|bongo`.
350350

351351
##### `"short paint"`
352352

353-
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
353+
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
354354

355355
```
356356
(aaa[bbb]ccc ddd)

0 commit comments

Comments
 (0)