Sublime Forum

Unnecessary wrapping when using CJK characters

#1

I like using ST to write in markdown, but the UNNECESSARY wrapping when typing CJK characters is very annoying.

VS Code does this much better:

see: https://cl.ly/saHl/Screen%20Shot%202018-06-28%20at%2023.39.01.png

Many people have talked about this issue. But still not solved. Pls help to fix it!

1 Like

CJK word detection and related issues
#2

Did you set wrap width?

0 Likes

#3

No, I didn’t.

0 Likes

#4

It seems that the problem here is Sublime is always relying on whitespace to do wrapping, whereas in CJK languages there are no spaces, so you can wrap on (almost?) between any two ideograms.
Not sure what’s the case with Japanese Kana and Korean, but the OP’s example is chinese which has only ideograms.

0 Likes

#5

Actually people do input whitespace between Chinese ideograms and alphabet words. A long Chinese sentence with e.g. English words will be wrapped at the whitespace between ideogram and letters, which is not right.

The right one should be like this, in VS Code:

0 Likes

#6

Can somebody pls help?

0 Likes