]> git.wh0rd.org Git - nano.git/commitdiff
Providing startup feedback for the spell checker, as for the linter.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 12 May 2014 11:50:58 +0000 (11:50 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Mon, 12 May 2014 11:50:58 +0000 (11:50 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4856 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/text.c

index effcbe66a562f67312d05ebc41dcaa22a100b3d4..6072fb01f8dbfe1f57c0367bb23c02452289c77f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-05-12  Benno Schulenberg  <bensberg@justemail.net>
+       * src/text.c (do_spell): Provide startup feedback, as for the linter.
+
 2014-05-10 Chris Allegretta <chrisa@asty.org>
        * src/rcfile.c (parse_color_names): Redefine false and true to
          their appropriate macro names so --with-slang works (slangv2 anyway).
index cb6d31301ed5fd2852c609352e7b5ff04b01debc..3cdd754dbd63712c87f842ab7868c88bfb0b8c7d 100644 (file)
@@ -2956,6 +2956,10 @@ void do_spell(void)
        return;
     }
 
+    blank_bottombars();
+    statusbar(_("Invoking spell checker, please wait"));
+    doupdate();
+
     spell_msg = (alt_speller != NULL) ? do_alt_speller(temp) :
        do_int_speller(temp);
     unlink(temp);