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

Program mode text selection behavior #1010

Open
guirossibrum opened this issue Jul 6, 2024 · 1 comment
Open

Program mode text selection behavior #1010

guirossibrum opened this issue Jul 6, 2024 · 1 comment
Labels
enhancement New feature or request user Reported by an actual user, yay!

Comments

@guirossibrum
Copy link

When you enter an invalid program - syntax error, the program text is selected. While navigating to the area to fix it, the entire text is selected in the meanwhile. I guess this is not intentional.
thanks

@c3d
Copy link
Owner

c3d commented Jul 9, 2024

This is intentional.

Usually, the cases where there is a text range selection, it means that there is some ambiguity regarding where the problem is, e.g. it could be at the beginning or at the end of some area of text.

So the idea is to make it relatively easy to move to either end of the offending code, or to just cut it to paste it somewhere else.

The editor menu has a Csr⇄Sel feature to flip the cursor between beginning and end of the selection, and The Select key can be used to select / deselect.

@c3d c3d added enhancement New feature or request user Reported by an actual user, yay! labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user Reported by an actual user, yay!
Projects
None yet
Development

No branches or pull requests

2 participants