[TxMt] conditional inclusion

Andrea Crotti kerny404 at gmail.com
Fri Dec 5 13:17:37 UTC 2008


I would like to see if there is a way to conditionally include some other
files (or part of them) directly from textmate.

For example I have a file which contains a program contained in another
file, so it would be nice to autoupdate that part of the text file every
time.

Does it makes any sense??
Something like

\inc{otherfile}[0-10]
At every opening of the file fetches the first 10 lines of otherfile. The
problem is how to distinguish text from include instruction.
I may have an idea but maybe it doesn't make sense the whole thing...
-- 
View this message in context: http://www.nabble.com/conditional-inclusion-tp20853565p20853565.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list