]> gitweb.factorcode.org Git - factor.git/blob - basis/editors/textmate/textmate.factor
8bea085c7fc5aa86cef860f9f8206a2851097e71
[factor.git] / basis / editors / textmate / textmate.factor
1 USING: definitions io.launcher kernel math math.parser parser
2 namespaces prettyprint editors make ;
3
4 IN: editors.textmate
5
6 : textmate-location ( file line -- )
7     [ "mate" , "-a" , "-l" , number>string , , ] { } make
8     try-process ;
9
10 [ textmate-location ] edit-hook set-global