Skip to content

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
@willmcgugan willmcgugan merged commit f57d501 into main Dec 18, 2024
4 of 5 checks passed
@willmcgugan willmcgugan deleted the selection-fix branch December 18, 2024 13:31
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.

3 participants