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

Invalid tab spacing when line contains chars with different char width (kana, kanji etc) #39249

Closed
teplofizik opened this issue Nov 28, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-rendering Editor rendering issues feature-request Request for new features or functionality
Milestone

Comments

@teplofizik
Copy link

  • VSCode Version: Code 1.17.2 (b813d12, 2017-10-16T13:59:48.528Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author (truncated) Version
cpptools ms- 0.14.3
csharp ms- 1.13.1
VHDL msh 0.0.2
omnipascal Wos 0.15.0

Tab positions invalid, if there are chars with different width before tab. Japanese kana, kanji etc

Now:
image
image

Settings:
image

Expected:
image


Steps to Reproduce:

  1. Set tab size 8 or above ("editor.tabSize": 10) and no replacing tabs with spaces ("editor.insertSpaces": false)
  2. Create new file
  3. Enter text with chars with similar width: "La La La"
  4. Enter text with chars with different width: "古事記 La La"

Reproduces without extensions: Yes

@vscodebot vscodebot bot added editor editor-core Editor basic functionality labels Nov 28, 2017
@alexdima alexdima added editor-rendering Editor rendering issues feature-request Request for new features or functionality and removed editor-core Editor basic functionality labels Nov 30, 2017
@alexdima alexdima added this to the Backlog milestone Nov 30, 2017
@yh1224
Copy link

yh1224 commented Mar 3, 2018

This issue is also fixed by #44259.

@alexdima
Copy link
Member

alexdima commented Mar 5, 2018

Duplicate of #22832

@alexdima alexdima marked this as a duplicate of #22832 Mar 5, 2018
@alexdima alexdima closed this as completed Mar 5, 2018
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 5, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 19, 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-rendering Editor rendering issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants