Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi carets cannot be deselected #80895

Closed
MarcusElg opened this issue Aug 22, 2023 · 0 comments · Fixed by #80956
Closed

Multi carets cannot be deselected #80895

MarcusElg opened this issue Aug 22, 2023 · 0 comments · Fixed by #80956

Comments

@MarcusElg
Copy link
Contributor

MarcusElg commented Aug 22, 2023

Godot version

4.1

System information

Windows

Issue description

Being able to have multiple cursors similarly to vscode is a great feature, however it's only possible to add carets, not remove them. By left clicking you can remove all extra cursors but you cannot remove a specific one so after selecting multiple lines a single missclick, you have to reselect them all again. Looking at the original pr there was a remove_caret function added so it would make sense to be able to remove carets when clicking again, like in vscode.

image

Steps to reproduce

  • Alt click to add multiple carets
  • Alt click on the same position again
  • Nothing happens

Minimal reproduction project

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants