changeset 12930:e2612e03d46f v8.0.1341

patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows commit https://github.com/vim/vim/commit/be5d998d0ea2226f1f7180c32b19df17ad674853 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 25 17:58:28 2017 +0100 patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows Problem: 'imactivatefunc' test fails on MS-Windows. Solution: Skip the text.
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Nov 2017 18:00:06 +0100
parents 9ee34e120f06
children 847495fbf6ec
files runtime/doc/options.txt src/testdir/test_iminsert.vim src/version.c
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4259,6 +4259,7 @@ A jump table for the options with a shor
 			{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 shor
 			{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()
--- a/src/testdir/test_iminsert.vim
+++ b/src/testdir/test_iminsert.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1341,
+/**/
     1340,
 /**/
     1339,