Skip to content

Commit

Permalink
Updated doc string to be representative (#1532)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AndreasArvidsson authored Jun 15, 2023
1 parent 4cf0c66 commit fcdf70c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { SelectionWithEditor } from "../../typings/Types";

/**
* Given a selection with an editor, constructs an appropriate `Target` to use
* for a `that` mark. It uses an `UntypedTarget`, and if the selection is
* empty, it sets `hasExplicitRange` to `false`.
* for a `that` mark. It uses an `UntypedTarget` and sets `hasExplicitRange` to `true`.
*
* @param selection The selection with editor to be converted
* @returns A target that can be used for a `that` mark
Expand Down

0 comments on commit fcdf70c

Please sign in to comment.