comparison src/testdir/test_iminsert.vim @ 21785:c346db463a59 v8.2.1442

patch 8.2.1442: outdated references to the Mac Carbon GUI Commit: https://github.com/vim/vim/commit/be7529e8890f6e8a656efee8bc60c125dc8c2002 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 13 21:05:39 2020 +0200 patch 8.2.1442: outdated references to the Mac Carbon GUI Problem: Outdated references to the Mac Carbon GUI. Solution: Remove or update references. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/6703)
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Aug 2020 21:15:03 +0200
parents 08940efa6b4e
children 8f17f8f327f3
comparison
equal deleted inserted replaced
21784:a6db2792aefe 21785:c346db463a59
35 endfunc 35 endfunc
36 36
37 func Test_getimstatus() 37 func Test_getimstatus()
38 if has('win32') 38 if has('win32')
39 CheckFeature multi_byte_ime 39 CheckFeature multi_byte_ime
40 elseif !has('gui_mac') 40 else
41 CheckFeature xim 41 CheckFeature xim
42 endif 42 endif
43 if has('win32') && has('gui_running') 43 if has('win32') && has('gui_running')
44 set imactivatefunc= 44 set imactivatefunc=
45 set imstatusfunc= 45 set imstatusfunc=
85 " Test for using CTRL-^ to toggle iminsert in insert mode 85 " Test for using CTRL-^ to toggle iminsert in insert mode
86 func Test_iminsert_toggle() 86 func Test_iminsert_toggle()
87 CheckGui 87 CheckGui
88 if has('win32') 88 if has('win32')
89 CheckFeature multi_byte_ime 89 CheckFeature multi_byte_ime
90 elseif !has('gui_mac') 90 else
91 CheckFeature xim 91 CheckFeature xim
92 endif 92 endif
93 if has('gui_running') && !has('win32') 93 if has('gui_running') && !has('win32')
94 throw 'Skipped: works only in Win32 GUI version (for some reason)' 94 throw 'Skipped: works only in Win32 GUI version (for some reason)'
95 endif 95 endif