jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.75k stars 4.99k forks source link

vim mode in text file , the cursor is not correct for Chinese word #3569

Open iorilu opened 6 years ago

iorilu commented 6 years ago

the cursor only cover half of the word , if it's a Chinese word , it should be like in vim in terminal

you can put this Chinese word for a test, '需求问题' please check below two images 2018-04-26 11 40 50 2018-04-26 11 46 57

takluyver commented 6 years ago

It's likely that this is an issue with Codemirror, the Javascript editor component we use. Do you see the same thing on this demo site? https://codemirror.net/demo/vim.html

iorilu commented 6 years ago

I tried on this demo page , it seems it's correct in the editor 2018-04-30 7 42 44