[TxMt] Find in document: list all lines for a pattern and jump to one by clicking?
Hans-Joerg Bibiko
bibiko at eva.mpg.de
Mon Oct 16 11:44:03 UTC 2006
Yes, of course!
HTML was the hint.
I thought in the wrong direction ;)
Many thanks.
Hans
On 16 Oct 2006, at 11:47, Allan Odgaard wrote:
> On 16. Oct 2006, at 10:01, Hans-Joerg Bibiko wrote:
>
>> My question is now:
>> Is there an elegant way to click on one line, get the leading line
>> number, and go to that line in my main document?
>
> Yes, instead of outputting in a document, use HTML as output. In
> HTML you can “link” to lines in your documents using the txmt: URL
> scheme [1].
>
> You probably want to turn this into a command [2] instead of using
> the Filter Through Command….
>
> And example of a command which does something very similar to what
> you need is the Show TODO List in the TODO bundle.
>
>
> [1] http://macromates.com/textmate/manual/
> using_textmate_from_terminal#url_scheme_html
> [2] http://macromates.com/textmate/manual/commands
>
More information about the textmate
mailing list