]> gitweb.factorcode.org Git - factor.git/blob - extra/editors/textmate/textmate.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / extra / editors / textmate / textmate.factor
1 USING: definitions io.launcher kernel math math.parser parser
2 namespaces prettyprint editors ;
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