[TxMt] Live Web Preview in TextMate 2

226 views
Skip to first unread message

Torsten Grust

unread,
Dec 14, 2011, 3:24:33 PM12/14/11
to TextMate users
Hi all,

I was wondering whether something like the Live Web Preview
available in TextMate 1 will be present in TextMate 2?

I was (ab)using this functionality (and its `Pipe text
through (command)' option) to implement live LaTeX editing
and previewing with TextMate 1 (the preview would basically
update after every keystroke, no need to save the document).
This worked so well, it became my primary use case and killer
application for TextMate.

In TextMate 2, I noticed a `Show Web Preview' command in the
HTML bundle, but the preview would neither update automatically
nor is a `Pipe text through' option provided.

It would be more than sad to see this functionality go away...

Cheers and keep up the good work,
--Torsten

--
| Torsten "Teggy" Grust
| Torste...@gmail.com

_______________________________________________
textmate mailing list
text...@lists.macromates.com
http://lists.macromates.com/listinfo/textmate

Jon Ippolito

unread,
Dec 14, 2011, 5:48:57 PM12/14/11
to text...@lists.macromates.com

Torsten wrote:
I was wondering whether something like the Live Web Preview
available in TextMate 1 will be present in TextMate 2?
This is also an essential feature for me in TextMate 1, which is now my default word processor as well as text editor; I save all my notes as HTML, which makes them easy to share over the Web. James Speth's WebMate plugin has been an invaluable utility for this, because it lets me edit text WYSISYG-style in the Web Preview.

I'm really hoping TM2 will support some variation on Live Web Preview + WebMate. I would hate to have to return to the bloated overkill of Microsoft Word/NeoOffice/Dreamweaver/etc.

jon

Allan Odgaard

unread,
Dec 14, 2011, 6:00:01 PM12/14/11
to TextMate users
On 14 Dec 2011, at 21:24, Torsten Grust wrote:

> I was wondering whether something like the Live Web Preview
> available in TextMate 1 will be present in TextMate 2?

I hope to be able to recreate the updating via the semantic class system.

Generally if something is not there, there’s a pretty good chance it’s just not done yet.

Torsten Grust

unread,
Dec 15, 2011, 3:17:25 AM12/15/11
to TextMate users
Hi Allan,

On Dec 15, 2011, at 00:00 , Allan Odgaard wrote:

> On 14 Dec 2011, at 21:24, Torsten Grust wrote:
>
>> I was wondering whether something like the Live Web Preview
>> available in TextMate 1 will be present in TextMate 2?
>
> I hope to be able to recreate the updating via the semantic class system.

To be honest, this is exactly the answer I wanted to hear! :-)

> Generally if something is not there, there’s a pretty good chance it’s just not done yet.

Ack.

Thanks a lot,
--Torsten

Piero D'Ancona

unread,
Dec 15, 2011, 3:36:26 PM12/15/11
to text...@lists.macromates.com
Torsten Grust <torsten.grust@...> writes:

> I was (ab)using this functionality (and its `Pipe text
> through (command)' option) to implement live LaTeX editing
> and previewing with TextMate 1 (the preview would basically
> update after every keystroke, no need to save the document).
> This worked so well, it became my primary use case and killer
> application for TextMate.
>

Torster, would you mind sharing your script?
When I tried to do the same I run into problems
and I would be curious to see how it is properly done

Thanks
Piero

Torsten Grust

unread,
Dec 19, 2011, 4:56:50 AM12/19/11
to TextMate users
Hi Piero,

I'll be happy to do that. I'll package things up more nicely and get
back to you (and the list).

With the new TM2 release 8956, I saw the new callback.application.did-activate
semantic class. To make the live LaTeX editing work with TM2, we'd
probably need a

callback.application.buffer-did-change

semantic class or similar.

Cheers,
--Torsten

Piero D\'Ancona

unread,
Dec 24, 2011, 7:09:59 AM12/24/11
to text...@lists.macromates.com
Torsten Grust <torsten.grust@...> writes:

> I'll be happy to do that. I'll package things up more nicely and get
> back to you (and the list).
>

Thank you Torsten!
Best wishes

Reply all
Reply to author
Forward
0 new messages