1
0
forked from aniani/vim

patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows

Problem:    'imactivatefunc' test fails on MS-Windows.
Solution:   Skip the text.
This commit is contained in:
Bram Moolenaar
2017-11-25 17:58:28 +01:00
parent 281c93e714
commit be5d998d0e
3 changed files with 7 additions and 0 deletions

View File

@@ -4259,6 +4259,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only available when compiled with |+mbyte|} {only available when compiled with |+mbyte|}
This option specifies a function that will be called to This option specifies a function that will be called to
activate/inactivate Input Method. activate/inactivate Input Method.
Does not work in the MS-Windows GUI version.
Example: > Example: >
function ImActivateFunc(active) function ImActivateFunc(active)
@@ -4374,6 +4375,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only available when compiled with |+mbyte|} {only available when compiled with |+mbyte|}
This option specifies a function that is called to obtain the status This option specifies a function that is called to obtain the status
of Input Method. It must return a positive number when IME is active. of Input Method. It must return a positive number when IME is active.
Does not work in the MS-Windows GUI version.
Example: > Example: >
function ImStatusFunc() function ImStatusFunc()

View File

@@ -17,6 +17,9 @@ func IM_statusfunc()
endfunc endfunc
func Test_iminsert2() func Test_iminsert2()
if has('gui_win32')
return
endif
set imactivatefunc=IM_activatefunc set imactivatefunc=IM_activatefunc
set imstatusfunc=IM_statusfunc set imstatusfunc=IM_statusfunc
set iminsert=2 set iminsert=2

View File

@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1341,
/**/ /**/
1340, 1340,
/**/ /**/