Christian Brabandt wrote: > On Di, 31 Okt 2017, Christian Brabandt wrote: > > > > > On So, 29 Okt 2017, Bram Moolenaar wrote: > > > > > Patch 8.0.1238 > > > Problem: Incremental search only shows one match. > > > Solution: When 'incsearch' and and 'hlsearch' are both set highlight all > > > matches. (haya14busa, closes #2198) > > > Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro, > > > src/search.c, src/testdir/test_search.vim > > > > It looks like the test does not work correctly on Windows. I see some > > failures: > > https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/job/g4p49k5gh6k3nbq5 > > ,---- > > | From test_search.vim: > > | Found errors in Test_search_cmdline_incsearch_highlight_attr(): function > > RunTheTest[34]..Test_search_cmdline_incsearch_highlight_attr > > | line 28: Expected not equal to 292 function > > RunTheTest[34]..Test_search_cmdline_incsearch_highlight_attr > > | line 29: Expected not equal to 292 function > > RunTheTest[34]..Test_search_cmdline_incsearch_highlight_attr > > | line 30: Expected not equal to 292 > > | TEST FAILURE NMAKE : fatal error U1077: 'if' : return code '0x1' > > `---- > > > > This test is now disabled for the vim-win32-installer build. Once it > > builds again, I'll try to debug this test. > > I debugged it a bit further. I think the problem is this line: > ,---- > | call term_sendkeys(g:buf, 'i' . join(lines, "\n") . "\<esc>gg0") > `---- > > Sending "\<esc>" does not work. Instead it looks like it sends meta/alt > key, e.g. it set's the high bit of the following character and therefore > does never exit insert mode.
Strange, is this not using the normal termcap perhaps? > I don't know why this is so here is a patch, that uses a temp file as a > workaround. Thanks. I'll change the first term_wait() into WaitFor(), that's more reliable. -- SIGFUN -- signature too funny (core dumped) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
