[SVN] r10655

Alexander John Ross alex.j.ross at gmail.com
Tue Sep 30 16:28:14 UTC 2008


• Added a class method to TextMate::Executor.  `make_project_master_current_document`.  This method checks the environment for TM_PROJECT_MASTER and TM_PROJECT_DIRECTORY.  TM_PROJECT_MASTER can be either an absolute path, or a path relative to TM_PROJECT_DIRECTORY.  If the variables exist and the files they reference also exist, then TM_FILEPATH, TM_FILENAME, and TM_DISPLAYNAME are altered to point to the master file.  Executor.run may then be called as normal with TM_FILEPATH.

Changed:
U   trunk/Support/lib/tm/executor.rb




More information about the textmate-dev mailing list