Mercurial > vim
comparison src/tag.c @ 18642:bbea1f108187 v8.1.2313
patch 8.1.2313: debugging where a delay comes from is not easy
Commit: https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 17 17:06:33 2019 +0100
patch 8.1.2313: debugging where a delay comes from is not easy
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Nov 2019 17:15:04 +0100 |
parents | b9240fe40dd4 |
children | 49b78d6465e5 |
comparison
equal
deleted
inserted
replaced
18641:b288ef9327ac | 18642:bbea1f108187 |
---|---|
736 else | 736 else |
737 give_warning(IObuff, ic); | 737 give_warning(IObuff, ic); |
738 if (ic && !msg_scrolled && msg_silent == 0) | 738 if (ic && !msg_scrolled && msg_silent == 0) |
739 { | 739 { |
740 out_flush(); | 740 out_flush(); |
741 ui_delay(1000L, TRUE); | 741 ui_delay(1007L, TRUE); |
742 } | 742 } |
743 } | 743 } |
744 | 744 |
745 #if defined(FEAT_EVAL) | 745 #if defined(FEAT_EVAL) |
746 /* Let the SwapExists event know what tag we are jumping to. */ | 746 /* Let the SwapExists event know what tag we are jumping to. */ |
3597 { | 3597 { |
3598 msg(_("E435: Couldn't find tag, just guessing!")); | 3598 msg(_("E435: Couldn't find tag, just guessing!")); |
3599 if (!msg_scrolled && msg_silent == 0) | 3599 if (!msg_scrolled && msg_silent == 0) |
3600 { | 3600 { |
3601 out_flush(); | 3601 out_flush(); |
3602 ui_delay(1000L, TRUE); | 3602 ui_delay(1010L, TRUE); |
3603 } | 3603 } |
3604 } | 3604 } |
3605 retval = OK; | 3605 retval = OK; |
3606 } | 3606 } |
3607 } | 3607 } |