Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if you were going to do that, i think you should render two half width spaces rather than a full width and a zero width, so the cursor still moves naturally.


Excellent suggestion. How could I have forgotten about half-width spaces?


This would only work when editing, not when typing it out the first time.


Sure, the first space would be full width, the second would be half width but would also cause the one before it to become half width. You wouldn't really see that there were half width spaces until you edit, but they are there as soon as typed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: