Xavier Noria wrote:
I would like to write a command to center the document content in the editor window. Think a boxed title in Keynote. Is there a way to know the window height in lines? I dumped the environment and saw no relevant variable.
Did you try pressing ⌃L? It should work in any Cocoa Text widget, including TextMate's. ;)