On 28 Oct 2009, at 23:25, Jeff Keen wrote:
[...] Is having "Show As HTML" as the bundle command output a requirement when using TextMate::UI.dialog to load a custom .nib?
It is generally a requirement that the command runs “detached” which commands with HTML output does by default. Regular commands can also be detached http://wiki.macromates.com/HowTo/RunCommandInBackground
However, detaching means that TM will not wait for the command to complete, and that means any output other than ‘discard’ does not make sense.
Dialog 1.x allows you to run a nib as modal, which should then allow you to “block” but still have input go to the dialog (but the rest of TM will still be locked, as it is waiting for your command to complete).