Query about updating search stats

15 views
Skip to first unread message

John Marriott

unread,
May 9, 2024, 4:30:57 PM5/9/24
to vim...@googlegroups.com
Hi all,

Does anyone know why the update_search_stat() function (in search.c) considers the search direction and cursor position when deciding if it needs to recompute the search stats?

In my testing they don't seem to matter. In fact they just cause recomputation when it's not required.

What am I missing?

Thanks
John


John Marriott

unread,
May 10, 2024, 4:29:00 PM5/10/24
to vim...@googlegroups.com
Ah the penny has dropped. I've got it.

Cheers
John
Reply all
Reply to author
Forward
0 new messages