Allow replacing identical text if case sensitive is not checked.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1488 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
e3c956c7ad
commit
ec939b4736
@ -3,6 +3,8 @@
|
||||
* src/symbols.c:
|
||||
Use g_printerr (if necessary) when generating global tags to convert
|
||||
UTF-8 automatically; mark error messages for translation.
|
||||
* src/search.c:
|
||||
Allow replacing identical text if case sensitive is not checked.
|
||||
|
||||
|
||||
2007-04-29 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||
|
@ -910,7 +910,7 @@ on_replace_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
|
||||
find = g_strdup(gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(entry_find)))));
|
||||
replace = g_strdup(gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(entry_replace)))));
|
||||
|
||||
if ((response != GEANY_RESPONSE_FIND) && (! fl1) && (strcasecmp(find, replace) == 0))
|
||||
if ((response != GEANY_RESPONSE_FIND) && fl1 && (strcasecmp(find, replace) == 0))
|
||||
{
|
||||
utils_beep();
|
||||
gtk_widget_grab_focus(GTK_WIDGET(GTK_BIN(lookup_widget(widgets.replace_dialog, "entry_find"))->child));
|
||||
|
Loading…
x
Reference in New Issue
Block a user