[TxMt Plugins] tracking the filename of the currently selected tab

Niko Matsakis niko at alum.mit.edu
Thu Jan 28 21:37:25 UTC 2010


Hello,

I would like to write a TextMate plugin which creates a window containing a txt2tags [1] rendered version of the file I am currently editing. (Actually a somewhat modified version of txt2tags)  As I navigate through different files, I'd like this window to update to reflect the current file.

I feel like there is probably a fairly simple way for me to observe the file currently being actively edited, but after spending some time browsing through the methods and fields of OakTextView, OakTabBarView, etc, I haven't found out what it is.

Any advice?  Pointers to similar projects?


Thank you very much,

Niko Matsakis

[1] http://txt2tags.sourceforge.net/


More information about the textmate-plugins mailing list