Christian wrote:
> On Mo, 06 Mai 2019, Bram Moolenaar wrote:
>
> > Patch 8.1.1283
> > Problem: Delaying half a second after the top-bot message.
> > Solution: Instead of the delay add "W" to the search count.
> > Files: src/search.c
>
> I think we need to increase the allocated length of the msgbuf by 2 in
> search.c around line 1401 now that t has also been increased by 2 in
> search_stat():
>
> diff --git a/src/search.c b/src/search.c
> index 1fa52b443..35950c206 100644
> --- a/src/search.c
> +++ b/src/search.c
> @@ -1397,8 +1397,8 @@ do_search(
> else
> // Use up to 'showcmd' column.
> len = (int)(Rows - msg_row - 1) * Columns + sc_col - 1;
> - if (len < STRLEN(p) + 40 + 11)
> - len = STRLEN(p) + 40 + 11;
> + if (len < STRLEN(p) + 40 + 13)
> + len = STRLEN(p) + 40 + 13;
> }
> else
> // Reserve enough space for the search pattern + offset.
Thanks. I'll define a macro for that size.
--
Females are strictly forbidden to appear unshaven in public.
[real standing law in New Mexico, United States of America]
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201905071934.x47JYreh001551%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.