From: Benno Schulenberg Date: Sun, 14 Feb 2016 10:29:48 +0000 (+0000) Subject: Restoring the mentioned behavior also for the internal spell fixer. X-Git-Tag: v2.5.3~38 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=15947ac8718d8914506b9d9e20c87e8e49e4e5f3;p=nano.git Restoring the mentioned behavior also for the internal spell fixer. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5642 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index e532f29d..39ac4bc1 100644 --- 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 * src/browser.c (do_browser, browser_refresh): Rebuild the file list diff --git a/src/text.c b/src/text.c index da105ea1..2b2e0675 100644 --- a/src/text.c +++ b/src/text.c @@ -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);