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

Highlighting and typing "(" should clear the contents instead of wrapping #151

Open
eluberoff opened this issue Feb 21, 2021 · 2 comments
Open
Labels
⏱️ 1-2 days Appetite of 1-2 days

Comments

@eluberoff
Copy link
Member

eluberoff commented Feb 21, 2021

Too many times I've watched people highlight (2,3) and type ( expecting to get blank parens and instead getting ((2,3)).

Because it's so easy to open and close parens, it doesn't feel like highlight & type should wrap (like we do with square roots and fractions).

Final proposed designs:

If the highlighted content is wrapped in parentheses and you type the same kind of parentheses, it erases the content and you're left with empty (and hardened) parentheses instead of double-paren-wrapping the contents.

@mikehaverstock
Copy link
Member

I personally like the version that checks if it's already paren wrapped

@eluberoff
Copy link
Member Author

+1 from Christopher & Yanna

@corimcelwain corimcelwain added the ⏱️ 1-2 days Appetite of 1-2 days label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱️ 1-2 days Appetite of 1-2 days
Projects
None yet
Development

No branches or pull requests

3 participants