VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.94k stars 1.32k forks source link

Vertical cursor moving for CJK lines #4096

Open no9vem opened 5 years ago

no9vem commented 5 years ago

Describe the bug Vertical cursor moving is incorrect when lines contain CJK characters even using monospace CJK fonts.

02 03

To Reproduce

  1. Type CJK characters.
  2. Move cursor with 'j' 'k' or arrow keys in NORMAL, INSERT, VISUAL modes.

Expected behavior VSCODE fixed this issue, but VSCodeVim still have one. https://github.com/microsoft/vscode/pull/44259

Behave same as default VSCODE expected.

00 01

akdir commented 5 years ago

Is this already fixed @no9vem @J-Fields? I can't reproduce this problem on VSCode using VSCodeVim.

no9vem commented 5 years ago

@akdir

I checked again and comfirmed not fixed.

Extensions: only "vscodevim" activated Font: "Noto Sans Mono CJK JP" Text:

あああああ123456
aaaaaaaaaa123456

Result:

in NORMAL mode

000

hit 'J'

001

Should be

002