]> git.wh0rd.org Git - nano.git/commitdiff
Restoring the mentioned behavior also for the internal spell fixer.
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 14 Feb 2016 10:29:48 +0000 (10:29 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Sun, 14 Feb 2016 10:29:48 +0000 (10:29 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5642 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/text.c

index e532f29d1c09eb91a0095e50572f7cc28e691144..39ac4bc155cdf8c5377496a47bf0ee00d7eaad5f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
        * src/search.c (do_replace_loop): Make iterating through replacement
        matches behave again like iterating through search matches: showing
        them centered when found offscreen.  This fixes Savannah bug #47127.
+       * src/text.c (do_int_spell_fix): Restore the above behavior also for
+       the internal spell fixer.
 
 2016-02-13  Benno Schulenberg  <bensberg@justemail.net>
        * src/browser.c (do_browser, browser_refresh): Rebuild the file list
index da105ea1f1cc93198a80a218f2eaa86e3e8e1012..2b2e067521ba0246f68bbb1ad0a696732ce35e9b 100644 (file)
@@ -2414,6 +2414,7 @@ bool do_int_spell_fix(const char *word)
                xpt, strnlenpt(openfile->current->data,
                openfile->current_x + match_len) - xpt, FALSE);
 
+           edit_redraw(openfile->current, openfile->placewewant);
            edit_refresh();
 
            do_replace_highlight(TRUE, exp_word);