Closed RanX12 closed 4 years ago
Those are default options, and the tab and backspace bindings shouldn't be relevant when this is about the behavior of the space key. Is this happening for you in the demo on https://codemirror.net as well? I can't reproduce it there. So, if it doesn't occur there, the next step would be to reduce your setup to the minimum that still reproduces the issue in order to find out what is causing the different behavior.
When I did the demo at https://codemirror.net/, there were no spaces and tabs wrong I click on the tab (tab), it presents 6 spaces, and pressing 4 times the space is also 6 spaces. And it‘s 2 spaces in width, but only one space is actually counted
I do n’t know where to fix this bug, please give me a hint, thank you. If you have a win 10 computer and chrome browser, you can visit: https://www.showmebug.com can be reproduced here.
please give me a hint, thank you.
I did—simplify your setup until you figure out what is causing this. I'm not going to sift through a big production site to debug this, sorry.
Thank you, I know that because the monaco font library I set is not supported on Windows, '' cannot be displayed correctly
Entering the first space is normal, entering the second space is not normal, it will become 2 spaces, enter two spaces, the result is 3 spaces. The width of the tab or space becomes the width of 2 spaces. This will only happen in Chrome, Win 10, I tested on Mac without any problems, Is there any solution? My configuration is as follows: