Revision: 1488 http://svn.sourceforge.net/geany/?rev=1488&view=rev Author: ntrel Date: 2007-04-30 05:03:46 -0700 (Mon, 30 Apr 2007)
Log Message: ----------- Allow replacing identical text if case sensitive is not checked.
Modified Paths: -------------- trunk/ChangeLog trunk/src/search.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-04-30 11:56:50 UTC (rev 1487) +++ trunk/ChangeLog 2007-04-30 12:03:46 UTC (rev 1488) @@ -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
Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2007-04-30 11:56:50 UTC (rev 1487) +++ trunk/src/search.c 2007-04-30 12:03:46 UTC (rev 1488) @@ -910,7 +910,7 @@ 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));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.