Add the following options to tm_dialog:

 -a, --async-window           Displays the window and returns a reference token 
for it
                              in the output property list.
 -x, --close-window <token>   Close and release an async window.
 -t, --update-window <token>  Update an async window with new parameter values.
                              Use the --parameters argument (or stdin) to 
specify the
                              updated parameters.
 -l, --list-windows           List async window tokens.
 -w, --wait-for-input <token> Wait for user input from the given async window.

I've tested every existing invocation of tm_dialog in the bundles. Everything 
seems to work as well as before, including the menu option.

Changed:
U   trunk/PlugIns/Dialog.tmplugin/Contents/MacOS/Dialog
U   trunk/Support/bin/tm_dialog
U   trunk/Tools/Dialog PlugIn/Dialog.h
U   trunk/Tools/Dialog PlugIn/Dialog.mm
U   trunk/Tools/Dialog PlugIn/Dialog.xcodeproj/project.pbxproj
A   trunk/Tools/Dialog PlugIn/TMDSemaphore.h
A   trunk/Tools/Dialog PlugIn/TMDSemaphore.mm
U   trunk/Tools/Dialog PlugIn/tm_dialog.mm

_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to