Switch to status window when using Replace In Session to show which
documents had replacements made. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1491 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
882f59c309
commit
7e000a4668
@ -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@btinternet.com>
|
||||
|
@ -976,6 +976,8 @@ on_replace_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user