Ok, here's an idea.

A back/forward history thing for textmate.

Every time you change something in textmate, it logs where your cursor is.
Then you can use a back and forward command to navigate between those places, even between files and projects.

Would anyone but me find that useful?

I have a few idea on how to implement this.
Currently, the only thing that can automatically watch your changes is the web preview window.
but you can use a pass-thru script in that window to do anything you want, triggered every time you change something in your document.
the bad thing about that is that it would take over your webpreview panel, and you'd have to open a webpreview panel for every document that you want to catch the history for.

The other option is to use a command that you manually trigger. This is lame because if you forgot to mark something then you'd lost that step.

Another possible option.
An HTML command window that stays open and continually triggers a shell script that logs your history.
I don't think this can work right now (i haven't checked) because i don't think the TextMate.system javascript command grabs new variables every time it's triggered without reopening the document. But maybe we could convince Allan to implement something like TextMate.update_variables or something.


Well, anyway. just thinking out loud.


thomas Aylott — design42 — subtleGradient — CrazyEgg