Fixed consecutive search substring replace bug (28)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
6a2273d781
commit
fa8f7bf0dc
2
BUGS
2
BUGS
|
@ -41,5 +41,5 @@
|
||||||
- In search/replace code there is too much refreshing in bottomwin (26)
|
- In search/replace code there is too much refreshing in bottomwin (26)
|
||||||
- In replace, there is no way to accept the default replace string. (27)
|
- In replace, there is no way to accept the default replace string. (27)
|
||||||
- In replace with completely adjacent strings, every other search string
|
- In replace with completely adjacent strings, every other search string
|
||||||
will be missed (try replace ':' in a string like ':::::::::') (28)
|
will be missed (try replace ':' in a string like ':::::::::') (28) [FIXED]
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ Current CVS:
|
||||||
do_search(), do_replace():
|
do_search(), do_replace():
|
||||||
- Removed call to search_abort()/replace_abort() before call to
|
- Removed call to search_abort()/replace_abort() before call to
|
||||||
the opposite function.
|
the opposite function.
|
||||||
|
- Fixed bug #28.
|
||||||
- fr.po:
|
- fr.po:
|
||||||
- French update by Clement Laforet <clem_laf@wanadoo.fr>.
|
- French update by Clement Laforet <clem_laf@wanadoo.fr>.
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2000-07-11 22:00-0400\n"
|
"POT-Creation-Date: 2000-07-11 22:41-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
2
search.c
2
search.c
|
@ -479,7 +479,7 @@ int do_replace(void)
|
||||||
current->data = copy;
|
current->data = copy;
|
||||||
|
|
||||||
/* Stop bug where we replace a substring of the replacement text */
|
/* Stop bug where we replace a substring of the replacement text */
|
||||||
current_x += strlen(last_replace);
|
current_x += strlen(last_replace) - 1;
|
||||||
|
|
||||||
edit_refresh();
|
edit_refresh();
|
||||||
set_modified();
|
set_modified();
|
||||||
|
|
Loading…
Reference in New Issue