comparison src/search.c @ 20661:c7843f009ecf v8.2.0884

patch 8.2.0884: searchcount() test fails on slower systems Commit: https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 1 21:32:45 2020 +0200 patch 8.2.0884: searchcount() test fails on slower systems Problem: Searchcount() test fails on slower systems. Solution: Set a longer timeout.
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Jun 2020 21:45:03 +0200
parents a68591fbb93d
children a126f643d566
comparison
equal deleted inserted replaced
20660:9bc62a5518fb 20661:c7843f009ecf
34 } searchstat_T; 34 } searchstat_T;
35 35
36 static void cmdline_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, int show_top_bot_msg, char_u *msgbuf, int recompute, int maxcount, long timeout); 36 static void cmdline_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, int show_top_bot_msg, char_u *msgbuf, int recompute, int maxcount, long timeout);
37 static void update_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, searchstat_T *stat, int recompute, int maxcount, long timeout); 37 static void update_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, searchstat_T *stat, int recompute, int maxcount, long timeout);
38 38
39 #define SEARCH_STAT_DEF_TIMEOUT 20L 39 #define SEARCH_STAT_DEF_TIMEOUT 40L
40 #define SEARCH_STAT_DEF_MAX_COUNT 99 40 #define SEARCH_STAT_DEF_MAX_COUNT 99
41 #define SEARCH_STAT_BUF_LEN 12 41 #define SEARCH_STAT_BUF_LEN 12
42 42
43 /* 43 /*
44 * This file contains various searching-related routines. These fall into 44 * This file contains various searching-related routines. These fall into