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

Controller - Shift + Tab should not remove characters, only tabs #193

Closed
DariusMuscalu opened this issue Nov 22, 2022 · 0 comments
Closed
Assignees

Comments

@DariusMuscalu
Copy link
Collaborator

DariusMuscalu commented Nov 22, 2022

Inside the method _removeTabCharacter() logic, when pressing shift + tab even though there aren't any tab char added. The logic is going to remove 4 chars before the charet. That's not what we intend. One possible solution to this is to verify if there are 4 whitespaces before the charet. If there are, apply the method logic, else do not.

Join on discord to get advice and help or follow us on YouTube Visual Coding to learn more about the architecture of Visual Editor and other Flutter apps.

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

No branches or pull requests

2 participants