XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 595 forks source link

Can`t not write non-ascii characters while XVim is enable in Xcode4.6 #532

Open spacewander opened 10 years ago

spacewander commented 10 years ago

When I try to write comments in Chinese, I found that the Chinese input method is unable to get the focus. So it is seem to be impossible to write Chinese characters. After trying different input methods, I discovered it is the problem of XVim. Because since I have checkd the XVim to disable, and reopened the text field, I could write Chinese again. But after I enabled XVim, I could not write Chinese again. So I supposed the XVim will cause input method lose its focus. And I checked it in writing other non-ascii characters(of course with special input methods), this problem is also existed. The problem is easy to fixed —— check the XVim to unable when you need to use input method. I hope this problem to be stated in the README or somewhere else.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

JohnTheAppleSeed commented 10 years ago

Can you check if that happens with XCode5? because it's supposed to work and if it doesn't with XCode 5 either:

So that I can try to repro here.

spacewander commented 10 years ago

Well, I just have xcode4.6...And I have tried almost all the Chinese IM I had, including the native Chinese IM in Mac. Actually no Chinese IM can work(just as what I have said above)...-_-, the only effective way is to disable the XVim when you are preparing to input Chinese.

JohnTheAppleSeed commented 10 years ago

okay that's probably an XCode 4.6 issue then, you should try 5.0

JohnTheAppleSeed commented 10 years ago

Hmm just as a confirmation, what is the codepoint for the unicode character you're trying to type, is it simplified chinese or not? because I think XVim supports chinese IM but not properly when the codepoint is above 0uFFFF