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.
Best,
Christian
--
Mittlerweile sehe ich das so, daß "Sysop" per Definition
inkompetent bedeutet. Wer sich so bezeichnet, ist ein Idiot.
Punkt.
-- Christian 'naddy' Weisgerber
--
--
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.