commit be4a3f82737a729575d95470e3b2962420379d2e
parent 433c7e5dc6be9274a2fc1cac8be93bc2d44844d9
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 4 May 2016 19:31:59 +0200
spelling: separate the fixing of different words with a short pause
When fixing a misspelling and not answering 'All' (but 'Yes' or 'No'),
the chance is quite substantial that one will type y or n at the end of
the next word. Diminish this chance by showing for a moment a message
on the statusbar.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -2450,6 +2450,10 @@ bool do_int_spell_fix(const char *word)
openfile->mark_set = old_mark_set;
#endif
do_replace_loop(TRUE, current_save, ¤t_x_save, word);
+
+ /* TRANSLATORS: Shown after fixing misspellings in one word. */
+ statusbar("Next word...");
+ napms(400);
}
}