[TxMt Plugins] Dialog API improvements

Allan Odgaard throw-away-1 at macromates.com
Thu Sep 20 15:26:31 UTC 2007


On 20/09/2007, at 16:45, Allan Odgaard wrote:

> [...]
> The restructuring I am envisioning is to move to a command based  
> system so that the basic syntax is:
>     tm_dialog «command» [«options»]
> [...]

I should mention that another candidate is to use an object oriented  
approach, so we would have:

     tm_dialog create (window|menu|…)

And later that object could be manipulated with other commands.

Though given how only few of the commands follow the ‘create,  
manipulate, dispose’-cycle, it is probably not a good interface.




More information about the textmate-plugins mailing list