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

fix(compass-editor): fix tab behavior with selection COMPASS-7013 #4940

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Oct 3, 2023

COMPASS-7013

This makes it so that:

  • When Escape then Tab is hit, the user returns to keyboard navigation.
  • When Tab without a selection is hit, a tab character is inserted.
  • When Tab with a selection is hit, the line is indented (or un-indented if shift is held).

Not sure how to test this in any non-brittle and over the top way so I added some comments that hopefully reduce the chance of regressions. Open to suggestions.

@Anemy Anemy merged commit 8d97006 into main Oct 10, 2023
5 checks passed
@Anemy Anemy deleted the COMPASS-7013-fix-tab-behavior branch October 10, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants