[SVN] Automatically Scroll (Follow) webpreview output

Allan Odgaard throw-away-1 at macromates.com
Tue Oct 31 03:38:23 UTC 2006


On 31. Oct 2006, at 02:05, Nick Channon wrote:

> I had some commands using the web preview window that outputted pages
> of information. I wanted to view this information as it arrived but
> did not want to scroll manually. So I developed some javascript code
> that adds a 'Follow' checkbox to the webpreview header that when
> checked automatically scrolls preview window to the bottom as it
> updates, much like the unix tail command.

Actually… TM has a hidden setting for this.

You need to load the tmCommand file into a text editor and then add:

     <key>autoScrollOutput</key>
     <true/>

I’ll go update the docs :)




More information about the textmate-dev mailing list