I notice that when I generate a template for Python and have soft tabs enable, the resulting file still has tabs in it.
I went through and did some testing and it appears that TM_SOFT_TABS does not get set in the environment for those script that do pre-processing on templates.
To test this, simply put ${TM_SOFT_TABS} in a template.
Using 1.5.9 (1510)
-- Donald Ephraim Curtis dcurtis@gmail.com
On 19 May 2010, at 23:30, Donald Curtis wrote:
[...] I went through and did some testing and it appears that TM_SOFT_TABS does not get set in the environment for those script that do pre- processing on templates.
The file type of the document is set after the template script has executed (since it needs to match first line of template result + extension to find the template).
Something like TM_SOFT_TABS is tied to the file type, so this is unavailable.