[SVN] r6563

Allan Odgaard throw-away-1 at macromates.com
Mon Feb 12 10:02:02 UTC 2007


tm_dialog is now a target in the Xcode project file. The Dialog plug-in depends on it, and will copy the tm_dialog shell command to its resources folder (so you only need to build the Dialog target).

When the Dialog plug-in is loaded into the TextMate application, it will check its bundle resources for the tm_dialog shell command and set a DIALOG environment variable to its full path (if found).

This means that:

[CHANGED] Commands which wish to use tm_dialog should read the value of the DIALOG environment variable, which will always point to the version of tm_dialog that got compiled together with the currently running Dialog plug-in (so no more out-of-sync errors).

Changed:
U   trunk/Tools/Dialog PlugIn/Dialog.mm
U   trunk/Tools/Dialog PlugIn/Dialog.xcodeproj/project.pbxproj
U   trunk/Tools/Dialog PlugIn/tm_dialog.mm



More information about the textmate-dev mailing list