Two suggestions:
- The output option within the "Search" command, should be discard. Then, the last line of the command should be "exit_show_html". This delays the display of the show html output window until the results are available. Having the window display before the search dialog is opened is a little weird.
- The tm_dialog command should be invoked with the '-c' switch to center the dialog within the active document window.
-Brad
On Nov 2, 2006, at 4:21 AM, Hans-Joerg Bibiko wrote:
Dear all,
I rewrote the Hypersearch bundle to use the marvelous tm_dialog.
While doing this I also changed the following things:
- Hypersearch displays also the number of matches, not only the
number of lines
- Error handling for non-valid regular expressions
- some tiny format things within the HTML output
- add a command 'Reinit' to reset Hypersearch after a crash (It
could happen that while using Hypersearch TM, Mac, or the world crashes. This could cause that the temporary plist file contains non-valid XML code.)
- the dialog now makes use of a NSSearchField instead of NSTextField
-- now you can press ESCAPE for deleting the field content; or press twice for canceling the dialog
Please check this release for any bugs.
Have a nice day
Hans
<Hypersearch.tmbundle.zip>
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate