]> granicus.if.org Git - vim/commitdiff
patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows v8.0.1341
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Nov 2017 16:58:28 +0000 (17:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Nov 2017 16:58:28 +0000 (17:58 +0100)
Problem:    'imactivatefunc' test fails on MS-Windows.
Solution:   Skip the text.

runtime/doc/options.txt
src/testdir/test_iminsert.vim
src/version.c

index d71e7f9c46bf98c95a74137cbabdb14fa8c7ac1d..3888d9f426e7cdb3b5d902ff846d4749bd5832dc 100644 (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|}
        This option specifies a function that will be called to
        activate/inactivate Input Method.
+       Does not work in the MS-Windows GUI version.
 
        Example: >
                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|}
        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.
+       Does not work in the MS-Windows GUI version.
 
        Example: >
                function ImStatusFunc()
index 603135af29bee33aab437c51c19e6853b1373ff3..0676c03f16d1f035fe64190ba77f6a1b645b119f 100644 (file)
@@ -17,6 +17,9 @@ func IM_statusfunc()
 endfunc
 
 func Test_iminsert2()
+  if has('gui_win32')
+    return
+  endif
   set imactivatefunc=IM_activatefunc
   set imstatusfunc=IM_statusfunc
   set iminsert=2
index e391e529742422b7b87217b3eb9940718387a406..3fa66e4921d4f567c99d132af2c2d99213d20e5f 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1341,
 /**/
     1340,
 /**/