-
Notifications
You must be signed in to change notification settings - Fork 225
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
[BUG] how to add a 'None breaking space'? chr 160 while editing and don't remove them on save #738
Comments
I don't think a shortcut for it exists. Assuming the default Qt control works as expected, you can probably find a method to enter it that works in this table. |
So now this is a Bug...
@worstje thanks for your effort. P.S. I used VIM to validate this.. |
Going through some old issues to see what is relevant and what isn't... this one is still relevant even though recent versions of Qt are a lot more unicode/emoji friendly that resolves some related issues. |
A partial fix for this was implemented in my local branch of assorted fixes which I'll prepare a PR for at the end of this weekend. Unfortunately Qt has a completely idiotic decision to just replace non-breaking spaces with spaces in one of their core classes. The closest thing I see to properly fixing it for our users (due to the weirdness of PyQt) is to reimplement all of the copy-paste functionality myself, which is not remotely in the scope of the little fixes I wanted to do this weekend. (I spent too much time on this as it is!) So my fix will leave copy-paste broken (making it hard to verify the non-breaking space is not getting butchered), but internally, the non-breaking spaces will remain intact after you enter them. |
The normal way would be:
ctrl+space
orctrl+shift+space
But both combinations do nothing.
The text was updated successfully, but these errors were encountered: