GNOME Bugzilla – Bug 344026
Find - Replace
Last modified: 2006-06-18 09:00:20 UTC
One of the features I like with Macromedia is the find-replace. The "find" dialog has a "replace" button. If whilst finding I decide to replace, all I need do is click the button to bring up the extra functionallity without dismissing the dialog and opening another.
Created attachment 66835 [details] Screen shot of find/replace in Dreamweaver
In gedit 2.14 you don't need to dismiss the find dialog. If you press the replace button in the toolbar, the find dialog is morphed into the replace dialog. BTW, we could improve the current behavior by managing the Ctrl+H accellerator while the find dialog is focused. We could also add a simple button on the bottom left with a "Replace" icon.
>> We could also add a simple button on the bottom left with a "Replace" icon. << That sound like a fantastic idea :-)
I have fixed the search dialog so that it is now able to handle the Ctrl+H accellerator when it is focused. So now you can morph the search dialog into a replace dialog using Ctrl+H or pressing the Replace button on the toolbar (or search menu) Since the replace icon is already in the toolbar I don't see any need to have the Replace icon also in the search dialog. Closing as FIXED. ----- 2006-06-18 Paolo Maggi <paolo@gnome.org> Fixed bug #344026 – Find - Replace * gedit/dialogs/gedit-search-dialog.c (show_replace): new function (gedit_search_dialog_class_init): register the new signal "show_replace" and bind Ctrl+H to it * gedit/dialogs/gedit-search-dialog.h: new signal "show_replace"