Mercurial > vim
comparison runtime/doc/options.txt @ 12936:c53a80f39a52 v8.0.1344
patch 8.0.1344: using 'imactivatefunc' in the GUI does not work
commit https://github.com/vim/vim/commit/2877d334ad1321d1fcd5f903c0493bd0cdd787f8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 26 14:56:16 2017 +0100
patch 8.0.1344: using 'imactivatefunc' in the GUI does not work
Problem: Using 'imactivatefunc' in the GUI does not work.
Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Nov 2017 15:00:06 +0100 |
parents | 2ebc3df65ca2 |
children | 45987b1b77dc |
comparison
equal
deleted
inserted
replaced
12935:e952feb15951 | 12936:c53a80f39a52 |
---|---|
4256 'imactivatefunc' 'imaf' string (default "") | 4256 'imactivatefunc' 'imaf' string (default "") |
4257 global | 4257 global |
4258 {not in Vi} | 4258 {not in Vi} |
4259 {only available when compiled with |+mbyte|} | 4259 {only available when compiled with |+mbyte|} |
4260 This option specifies a function that will be called to | 4260 This option specifies a function that will be called to |
4261 activate/inactivate Input Method. | 4261 activate or deactivate the Input Method. |
4262 Does not work in the MS-Windows GUI version. | 4262 It is not used in the GUI. |
4263 | 4263 |
4264 Example: > | 4264 Example: > |
4265 function ImActivateFunc(active) | 4265 function ImActivateFunc(active) |
4266 if a:active | 4266 if a:active |
4267 ... do something | 4267 ... do something |
4373 global | 4373 global |
4374 {not in Vi} | 4374 {not in Vi} |
4375 {only available when compiled with |+mbyte|} | 4375 {only available when compiled with |+mbyte|} |
4376 This option specifies a function that is called to obtain the status | 4376 This option specifies a function that is called to obtain the status |
4377 of Input Method. It must return a positive number when IME is active. | 4377 of Input Method. It must return a positive number when IME is active. |
4378 Does not work in the MS-Windows GUI version. | 4378 It is not used in the GUI. |
4379 | 4379 |
4380 Example: > | 4380 Example: > |
4381 function ImStatusFunc() | 4381 function ImStatusFunc() |
4382 let is_active = ...do something | 4382 let is_active = ...do something |
4383 return is_active ? 1 : 0 | 4383 return is_active ? 1 : 0 |