TextMate callout support

Benjamin Pollack 2006-09-08 07:30:27 +00:00
parent fe320b4e16
commit a9c951c352
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
PROVIDE: contrib/textmate { "textmate.factor" } { } ;

View File

@ -0,0 +1,11 @@
REQUIRES: contrib/embedded contrib/process ;
USING: definitions embedded io kernel parser prettyprint process
sequences namespaces ;
IN: textmate
: textmate-location ( file line -- )
[ "mate -a \"" % over % "\" -l " % # ] "" make system drop ;
[ textmate-location ] edit-hook set-global