[TxMt] can I intercept / overwrite "Show Web Preview"
bonelake at gmail.com
Tue Oct 30 22:29:33 UTC 2007
Maybe I'm not really understanding what you want to do, but You can
always write a command for your bundle (with whatever processing you
want to the file) and then set the key equivalent to ⌃⌥⌘-p. If
you set the scope for your command to your language scope then your
command will take precedence over the general preview command.
On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:
> thanks, I should have mentioned that I am aware of that, what I don't
> know is how to make those steps part of a language bundle, so I can
> distribute this functionality, without the User having to install it
> On 10/30/07, Hans-Joerg Bibiko <bibiko at eva.mpg.de> wrote:
>> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
>>> for specific non-HTML files I would like to perform some commands
>>> then show the result as HTML preview, it that possible ?
>> Open Web Preview
>> Show Options
>> Check 'Pipe text through' "YOUR SCRIPT"
>> Write a command which executes your script and set "Output" to "Show
>> as HTML"
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
> Roberto Saccon
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate