Attached files is latest patch.

This patch adds 'imactivatefunc' and 'imstatusfunc' option.

This patch does not break IME because it does nothing when the option is
not set.

This is only yet another workaround for IM control feature.  But it
slightly better than 'imactivatekey' because some IM have API to control
enable/disable state and we can implement IM specific method with this
option.

In im_get_status() function, it is not always safe to invoke user
defined function.  I added checking code to avoid crash I saw.  But it
might still have problem.

-- 
Yukihiro Nakadaira - [email protected]

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: imactivate_user_func.diff
Description: Binary data

Attachment: example_ibus.vim
Description: Binary data

Raspunde prin e-mail lui