#454 Close Search Dialog with ctrl-W

closed-fixed
Alan Ezust
None
5
2013-09-12
2012-11-21
Juergen Weber
No

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.

Discussion

  • Owers
    Owers
    2013-04-29

    Started to work on this one.

     
  • Dale Anson
    Dale Anson
    2013-04-29

    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.

     
  • Owers
    Owers
    2013-05-08

    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.)

     
  • Alan Ezust
    Alan Ezust
    2013-09-12

    • assigned_to: nobody --> ezust
    • status: open --> closed-fixed