RFC: TextMate::UI replacing Dialog (was Re: [SVN] r6738 (HTML))

Allan Odgaard throw-away-1 at macromates.com
Thu Apr 5 09:21:49 UTC 2007


On 5. Apr 2007, at 05:48, Chris Thomas wrote:

>> [...]
> OK, I like 'TextMate::UI' and I've made the changes needed and  
> modified all the bundles and support code to use it. This means:
>
> * Dialog.rb is now UI.rb
> * The Dialog and TextMate::Dialog classes no longer exist. They are  
> succeeded by the TextMate::UI module, which now contains the  
> dialog, menu, alert, request_*, show_* methods.
>
> If TextMate::UI seems like a lot of typing, simply 'include  
> TextMate' to use the short form: UI.alert, UI.menu, UI.request_color.
>
> Does anyone have improvements, objections, better ideas? I'll wait  
> at least a day before I commit this (I'll bring it up to date with  
> newer bundle changes, if any, before I do the commit).

Sounds great! Be sure to put a [CHANGED] in the commit, as we’ll  
probably break a few third party bundles.





More information about the textmate-dev mailing list