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

Selection behaviour update #5400

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Selection behaviour update #5400

wants to merge 6 commits into from

Conversation

darrenburns
Copy link
Member

@darrenburns darrenburns commented Dec 16, 2024

Subtle change to behaviour in TextArea and Input when text is selected and you press left or right.

If text is selected and you press left or right, the cursor should move to the corresponding side of the selection rather than always just moving one cell. This matches operating system and text editor standard behaviour.

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

…ate in manner similar to VSCode, browsers, etc.

If there's a selection and the cursor left/right keybinding is pressed (without shift held), the cursor will move to the corresponding "edge" of the selection.
@darrenburns darrenburns marked this pull request as ready for review December 17, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant