Skip to content
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

Confusing behavior when moving cursor between lines containing full-width characters and half-width characters #44357

Closed
XieJiSS opened this issue Feb 25, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-core Editor basic functionality feature-request Request for new features or functionality
Milestone

Comments

@XieJiSS
Copy link

XieJiSS commented Feb 25, 2018

  • VSCode Version: 1.20.1
  • OS Version: Microsoft Windows 7 (6.1.7601 Service Pack 1 Build 7601)

Steps to Reproduce:

  1. Open a file which contains full-width characters and half-width characters.
  2. Use and to move the cursor between lines
    If the text is like this:
AAAAAAAA
aaaaaaaaaaaaaa

and your cursor is at the end of the first line, you will find out that if you press , the cursor will be right after the 8th a, which means that it is at the middle of the second line (instead of after the last a). What I want to say is that visually the cursor will move in the horizontal direction even if the user hasn't pressed or . So, did you designed this behavior intentionally or this is an unexpected behavior?

(Well, I'm a Chinese user and all of the Chinese characters are full-width characters, so for me, this is a quite confusing behavior.)

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added editor editor-core Editor basic functionality labels Feb 25, 2018
@alexdima alexdima added feature-request Request for new features or functionality and removed editor labels Feb 26, 2018
@alexdima alexdima added this to the Backlog milestone Feb 26, 2018
@yh1224
Copy link

yh1224 commented Mar 14, 2018

This issue is also fixed by #44259.

@alexdima
Copy link
Member

Duplicate of #22717

@alexdima alexdima marked this as a duplicate of #22717 Mar 27, 2018
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-core Editor basic functionality feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants