[OS X TeX] how to adapt "Close Current Environment"? (TeXShop)

Steffen Wolfrum mactex_ab at st.estfiles.de
Fri Jul 1 04:41:07 EDT 2011

Hi all,

in the latest TeXShop there is a new feature called "Close Current Environment":
By hitting the respective keystroke TeXShop looks back in the source from the cursor for the latest 

and writes an

at the current position!

For ConTeXters this could be even more useful, as ConTeXt allows consequent structuring:

   Test text.
     Note text.

I hope it shouldn't be too difficult to extend "Close Current Environment" from begin/end pairs only to start/stop environments too.

Does anybody know how to do this?
Or does anybody know who actually wrote this feature (so I could ask him/her directly)?

Thank you very much,

More information about the MacOSX-TeX mailing list