When I type out a complex replace regex, there is often an error. I often need to be able to apply and undo several times before I'm satisfied.
At present (Geany 1.33), one must escape from the replace dialog, undo (which only applies to the current document, per https://github.com/geany/geany/issues/1631), and re-enter the replace dialog. This is poor workflow for a common sequence.
Although some already comlain its too busy, perhaps it would be ok to add an undo button to the dialog.
I think it would be sufficient for it to pass the ctrl-Y / ctrl-Z key events to the parent window.
@dsjstc because the replace dialog is non-modal the edit window isn't its parent IIUC.
I think you could use [`gtk_widget_add_accelerator`](https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-add-accele...) on the text boxes in the search dialog or perhaps the dialog box itself to handle all the child widgets.
+1 This is indeed a very necessary feature.
This is indeed a missing feature..
Pull requests are welcome.
github-comments@lists.geany.org