There is a label completion command, that will give you a popup of all the labels. It is not the same, but it does this recursive scanning you are talking about to find all labels. The code could be easily modified to pick out all the sections, and the txmt scheme could be used for the navigation part. If you feel like tinkering you can give it a try. Otherwise I will implement it in the summer when I have the time, unless someone beats me to it.
It's a great idea.
On May 1, 2006, at 5:22 AM, Theorik wrote:
– One feature from Emacs' reftex mode (for LaTeX) I'd like to have in TextMate would be the recursive scanning for section commands, i.e. seeing all the sections etc. from the current master document and all (recursively) included files. Is this possible and I am to stupid to find it (perhaps using the wrong search terms)? This is an extremely practical thing for longer documents, because one can go from (the file containing) part I (or a file included by it) to a chapter in (the file containing) part III (or a file included by it).
Have a nice Labour Day, Cheers, Theorik
Haris