Mercurial > vim
comparison src/evalfunc.c @ 22361:00f2eebe74d9 v8.2.1729
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Commit: https://github.com/vim/vim/commit/189832bf661168df7ebd428e4088737718775fbd
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 23 12:29:11 2020 +0200
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Sep 2020 12:30:04 +0200 |
parents | 0e231e8e70f8 |
children | 770fe121ca64 |
comparison
equal
deleted
inserted
replaced
22360:d55224e63208 | 22361:00f2eebe74d9 |
---|---|
2608 | 2608 |
2609 if (!dangerous) | 2609 if (!dangerous) |
2610 ++ex_normal_busy; | 2610 ++ex_normal_busy; |
2611 exec_normal(TRUE, lowlevel, TRUE); | 2611 exec_normal(TRUE, lowlevel, TRUE); |
2612 if (!dangerous) | 2612 if (!dangerous) |
2613 { | |
2613 --ex_normal_busy; | 2614 --ex_normal_busy; |
2615 #ifdef FEAT_PROP_POPUP | |
2616 if (ex_normal_busy == 0) | |
2617 ex_normal_busy_done = FALSE; | |
2618 #endif | |
2619 } | |
2614 | 2620 |
2615 msg_scroll |= save_msg_scroll; | 2621 msg_scroll |= save_msg_scroll; |
2616 } | 2622 } |
2617 } | 2623 } |
2618 } | 2624 } |