Sung Pae wrote: > On Sat, Mar 23, 2013 at 03:00:48PM +0100, Bram Moolenaar wrote: > > > Thanks! > > > > Apparently the tests didn't catch this mistake. Would be nice to have a > > test for this. > > Great! Attached is the previous patch plus a test: > > one two > > Cursor is at letter `t`, search forward with `c`, then write current > line from current column to EOL. Failing test writes `one two`, passing > test writes `two`.
Thanks. The more complex Vim gets, the more important it is to have tests. -- >From "know your smileys": :-X My lips are sealed /// 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/groups/opt_out.
