Allowing the user to stop replacing a word without aborting also the
whole spell-fixing session. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5774 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f9d6aa9ba3
commit
23b8dfd98e
|
@ -6,6 +6,8 @@
|
||||||
Leave the cursor off during Unicode input, for extra feedback.
|
Leave the cursor off during Unicode input, for extra feedback.
|
||||||
* src/browser.c (do_browser): Improve the wording of a message.
|
* src/browser.c (do_browser): Improve the wording of a message.
|
||||||
* src/chars.c (is_valid_unicode): Speed up Unicode validation.
|
* src/chars.c (is_valid_unicode): Speed up Unicode validation.
|
||||||
|
* src/text.c (do_int_spell_fix): Allow to stop replacing a word
|
||||||
|
without aborting the entire spell-fixing session.
|
||||||
|
|
||||||
2016-03-28 Benno Schulenberg <bensberg@justemail.net>
|
2016-03-28 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/winio.c (statusbar): Don't bother putting back the cursor in
|
* src/winio.c (statusbar): Don't bother putting back the cursor in
|
||||||
|
|
|
@ -2448,7 +2448,7 @@ bool do_int_spell_fix(const char *word)
|
||||||
|
|
||||||
if (!canceled && strcmp(word, answer) != 0) {
|
if (!canceled && strcmp(word, answer) != 0) {
|
||||||
openfile->current_x--;
|
openfile->current_x--;
|
||||||
do_replace_loop(TRUE, &canceled, openfile->current,
|
do_replace_loop(TRUE, NULL, openfile->current,
|
||||||
&openfile->current_x, word);
|
&openfile->current_x, word);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue