Skip to content

Commit fcdf70c

Browse files
Updated doc string to be representative (#1532)
Forgot to update doc string in previous pr ## 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) - [ ] I have not broken the cheatsheet
1 parent 4cf0c66 commit fcdf70c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cursorless-engine/src/core/commandRunner/selectionToStoredTarget.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { SelectionWithEditor } from "../../typings/Types";
33

44
/**
55
* Given a selection with an editor, constructs an appropriate `Target` to use
6-
* for a `that` mark. It uses an `UntypedTarget`, and if the selection is
7-
* empty, it sets `hasExplicitRange` to `false`.
6+
* for a `that` mark. It uses an `UntypedTarget` and sets `hasExplicitRange` to `true`.
87
*
98
* @param selection The selection with editor to be converted
109
* @returns A target that can be used for a `that` mark

0 commit comments

Comments
 (0)