-
Notifications
You must be signed in to change notification settings - Fork 205
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
Backspace often deletes two spaces at once #660
Comments
It actually delete spaces up to indentation size (e.g. 4 spaces at a time) to make text aligned to indentation after deleting (though delete with Delete is one space a time). |
The behavior was implemented from issues #22. |
Thanks for the quick clarification! Most of the time, I use Notepad2 for writing and structuring longer texts, the code folding feature is very helpful here, even though it's not code I'm writing. In classic word processors the backspace key is used in another way, of course. Therefore my confusion. I might just set "Indentation size" to "1" or use an older version (4.20.11) before the implementation from issues #22. Anyway, thank for your work! Great program! |
Then an option could be added to disable this behavior. |
Added option "Backspace key smart delete spaces." on Tab Settings dialog, feel free to test latest builds (e.g. from https://github.com/zufuliu/notepad2/actions/runs/5018909219). |
This works great for me! Thanks a lot! |
Hitting the backspace key would often delete two spaces (and not only one as it is supposed to). To reproduce this:
Windows 8.1, Notepad2 (64-bit) 4.23.04 r4766 (9b680ba)
The text was updated successfully, but these errors were encountered: