SF.net SVN: geany: [1491] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Apr 30 12:32:14 UTC 2007


Revision: 1491
          http://svn.sourceforge.net/geany/?rev=1491&view=rev
Author:   ntrel
Date:     2007-04-30 05:32:13 -0700 (Mon, 30 Apr 2007)

Log Message:
-----------
Switch to status window when using Replace In Session to show which
documents had replacements made.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/search.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-04-30 12:24:40 UTC (rev 1490)
+++ trunk/ChangeLog	2007-04-30 12:32:13 UTC (rev 1491)
@@ -9,6 +9,9 @@
    Fix reloading of read-only documents.
  * src/document.c:
    Make replace all commands report no matches for read-only documents.
+ * src/search.c:
+   Switch to status window when using Replace In Session to show which
+   documents had replacements made.
 
 
 2007-04-29  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c	2007-04-30 12:24:40 UTC (rev 1490)
+++ trunk/src/search.c	2007-04-30 12:32:13 UTC (rev 1491)
@@ -976,6 +976,8 @@
 					search_replace_escape_re)) count++;
 			}
 			ui_set_statusbar(_("Replaced text in %u files."), count);
+			// show which docs had replacements:
+			gtk_notebook_set_current_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_STATUS);
 
 			ui_save_buttons_toggle(doc_list[idx].changed);	// update save all
 			if (close_window) gtk_widget_hide(widgets.replace_dialog);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list