To: vim_dev@googlegroups.com Subject: Patch 8.2.3567 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3567 Problem: CTRL-I in Insert mode is not tested Solution: Add a test case. (Dominique Pellé, closes #8866) Files: src/testdir/test_edit.vim *** ../vim-8.2.3566/src/testdir/test_edit.vim 2021-10-22 18:55:40.818752232 +0100 --- src/testdir/test_edit.vim 2021-10-28 21:02:57.185620507 +0100 *************** *** 2034,2037 **** --- 2034,2054 ---- unlet! g:i_to_any endfunc + " Test toggling of input method. See :help i_CTRL-^ + func Test_edit_CTRL_hat() + CheckFeature xim + CheckNotGui " FIXME: why does this test fail when running in the GUI? + + new + + call assert_equal(0, &iminsert) + call feedkeys("i\", 'xt') + call assert_equal(2, &iminsert) + call feedkeys("i\", 'xt') + call assert_equal(0, &iminsert) + + bwipe! + endfunc + + " vim: shiftwidth=2 sts=2 expandtab *** ../vim-8.2.3566/src/version.c 2021-10-28 20:49:02.643759725 +0100 --- src/version.c 2021-10-28 21:04:52.543589658 +0100 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3567, /**/ -- hundred-and-one symptoms of being an internet addict: 269. You receive an e-mail from the wife of a deceased president, offering to send you twenty million dollar, and you are not even surprised. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///