factor/basis/editors/textmate/textmate.factor

11 lines
280 B
Factor
Raw Normal View History

2007-09-20 18:09:08 -04:00
USING: definitions io.launcher kernel math math.parser parser
2008-09-12 11:36:00 -04:00
namespaces prettyprint editors make ;
2007-09-20 18:09:08 -04:00
IN: editors.textmate
: textmate-location ( file line -- )
2008-01-24 02:50:40 -05:00
[ "mate" , "-a" , "-l" , number>string , , ] { } make
2008-02-08 22:15:29 -05:00
try-process ;
2007-09-20 18:09:08 -04:00
[ textmate-location ] edit-hook set-global