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

adjustCursorMovement does not properly consider the length of two-byte UTF characters #29

Open
gimre opened this issue Oct 19, 2017 · 4 comments
Labels
bug needs-more-info Needs more information from the author

Comments

@gimre
Copy link

gimre commented Oct 19, 2017

Hey, it appears that when using some two-byte UTF characters as pretty substitutions, the adjusted length of the substitution string is not considered.

@siegebell
Copy link
Owner

Thanks! Can you give me some examples that fail?

@siegebell siegebell added bug needs-more-info Needs more information from the author labels Mar 24, 2018
@gimre
Copy link
Author

gimre commented Mar 27, 2018

Hey again! Thanks for making the extension btw - I was trying to get similar functionality to what https://github.com/pangloss/vim-javascript is for vim. I think any one of those should do the trick:

"ƒ"
"ø"
"@"
"⇚"
"¿"
"ℕ"
"¶"
"•"
"Ω"
"⇒"
"🞅"
"🞅"

Hope that helps!

@gimre gimre closed this as completed Mar 27, 2018
@gimre gimre reopened this Mar 27, 2018
@gimre
Copy link
Author

gimre commented Mar 27, 2018

Sorry, misclick :D

@siegebell
Copy link
Owner

Hi @gimre, I cannot reproduce your issue with those characters. What OS and font are you using? Can you submit a screenshot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-more-info Needs more information from the author
Projects
None yet
Development

No branches or pull requests

2 participants