[TxMt] commands return code?

Gerd Knops gerti at bitart.com
Tue Oct 25 17:12:23 UTC 2005


"A commands return code can be used to momentarily change the output  
option set for that command"

This doesn't seem to work as advertised.

For example for my syntax checker what I want is to 'Show as HTML'  
when errors are detected, and 'Show as Tooltip' when everything is fine.

It seems when the 'Output' option in the bundle editor is set to  
'Show as HTML', that is what happens no matter what exit code the  
tool uses.

When I set the 'Output' option to 'Discard', the exit code does seem  
to be honored, but there is no exit code that for 'Show as HTML'!

Am I missing something?

Gerd




More information about the textmate mailing list