The search dialog, search results window and possible others should be closeable by ctrl-W. This would be consistent to close a buffer with ctrl-W.
Started to work on this one.
Do not hard-code ctrl-W, instead, make it a short cut setting. Also, closing these windows already have OS specific keys, for example, on my system, pressing ESC will close dialog boxes (including the search dialog), Alt-F4 will close windows (including the search results), which might be good enough so there is no need to implement a jEdit specific shortcut.
Right, I did not hard-code it. Since the ticket requestet the consistency with the buffer closing I did it in a way, that it reads out the actual close-buffer.shortcut and uses that combination to dispose the possible instances of EnhancedDialog(SearchDialog,OptionsDialog etc.)
Committed 23175. See patch below.