-
Notifications
You must be signed in to change notification settings - Fork 176
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
Auto complete braces unwanted behavior #634
Comments
The behavior of |
So is this intended behavior or you're looking for a workaround? I hope it's not intended, because virtually every editor I know of overwrites the selection when you type anything on it. |
The behavior (enclose instead of overwrite selection) is borrowed from other editors, e.g. VS Code, Visual Studio, Sublime Text, CodeWarrior, etc. Add (or reuse current |
The configuration should works after 0682602, feel free to test latest builds from https://github.com/zufuliu/notepad2/actions/runs/4510000510. |
Works great! Thanks for the update! Looking forward to the release ;) |
Unfortunately, I have to re-report this after the latest release - when you type |
That's configured by "Auto indent text" option. |
Relevant code is following, probably it should omit |
Thanks! Wasn't aware of the |
I have everything under
Settings > Auto Completion Settings > Auto Complete braces and quotes
unchecked, but when I type(
or any other type of brace or quote over a selection of text it gets auto-completed by)
even it the setting for that isn't enabled.I'd expect it to overwrite the selection with
(
.The text was updated successfully, but these errors were encountered: