Monday, September 2, 2019

Re: Mapping erases search count message

Christian wrote:

> On Fr, 30 Aug 2019, Bram Moolenaar wrote:
>
> > Thanks. Yes, I think we should do this. But the allocation should
> > probably be done differently, it looks like with cmd_silent set it still
> > computes the size of the command. This will require some more "if"
> > statements, but makes the size computation more accurate.
>
> Well, yeah I thought this wouldn't hurt.
>
> So how about the attached patch then? It will simply use all available
> space in the command line. Not sure this is correct however.

It's tricky with all the conditions. But it looks OK. All tests pass.
Let's include this and check that nothing goes wrong. Can we cover this
with a test?

--
"Hit any key to continue" is very confusing when you have two keyboards.

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/201909021945.x82JjHVh019218%40masaka.moolenaar.net.

No comments: