zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.32k stars 2.87k forks source link

Preserve cursor location after canceling a `"editor::SelectAll"` #8105

Closed failable closed 7 months ago

failable commented 7 months ago

Check for existing issues

Describe the feature

Preserve cursor location after canceling a "editor::SelectAll". Currently the cursor is placed to end of buffer if a "editor::SelectAll" command is canceled.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

SomeoneToIgnore commented 7 months ago

Will close as a duplicate of a more broad https://github.com/zed-industries/zed/issues/8588 that now has some instructions on how to proceed.