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

Pasting in 日本語 adds an unexpected line break after 本 which puts the cursor off screen #61

Closed
Tyriar opened this issue Jun 2, 2016 · 6 comments
Labels
type/bug Something is misbehaving

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 2, 2016

image

@parisk
Copy link
Contributor

parisk commented Jun 2, 2016

Hi @Tyriar thanks for reporting. Investigating right now.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 2, 2016

I notice it seems to happen on the last CJK character in the pasted text, pasting "안녕하십니까?" results in:

안녕하십니
까?

The question mark is a regular ascii char.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 4, 2016

I think this is related to #62. Because the extra space on the right is filled with  , this causes unexpected characters to wrap so the   line can fit.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 4, 2016

white-space: nowrap; makes the problem go away but of course unexpected characters could then go off screen. It will also stack the characters on top of each other when the line wraps so this isn't a good solution.

@parisk
Copy link
Contributor

parisk commented Jun 6, 2016

I hope I will be able to take a deeper look into double characters today.

@parisk parisk added the type/bug Something is misbehaving label Jun 6, 2016
@parisk
Copy link
Contributor

parisk commented Jun 7, 2016

This is caused because of #62. Closing this, in order to continue conversation over there.

@Tyriar Tyriar closed this as completed Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is misbehaving
Projects
None yet
Development

No branches or pull requests

2 participants