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

Improval of auto pairing in code editor #18029

Open
wants to merge 1 commit into
base: Pharo13
Choose a base branch
from

Conversation

AlexisCnockaert
Copy link
Collaborator

-Checks now until the next character encountered to remove smart character opposite so it is better for code editor UX
-Fixes a part of #18024, changing the logic of smartBackspace to know if we are in a comment or not would mean parsing the editor code into AST, looks like a lot of work to do

-Checks now until the next character encountered to remove smart character opposite so it is better for code editor UX
Copy link
Contributor

@Gabriel-Darbord Gabriel-Darbord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :)
Can you also add a test please?

By the way, I think the editor instance variable can be used directly, and the currentEditor temporary can be removed.

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.

2 participants