From a9c951c352bb561f5b983cf43ecd2b587c83f531 Mon Sep 17 00:00:00 2001 From: Benjamin Pollack Date: Fri, 8 Sep 2006 07:30:27 +0000 Subject: [PATCH] TextMate callout support --- contrib/textmate/load.factor | 1 + contrib/textmate/textmate.factor | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 contrib/textmate/load.factor create mode 100644 contrib/textmate/textmate.factor diff --git a/contrib/textmate/load.factor b/contrib/textmate/load.factor new file mode 100644 index 0000000000..f52060dc8e --- /dev/null +++ b/contrib/textmate/load.factor @@ -0,0 +1 @@ +PROVIDE: contrib/textmate { "textmate.factor" } { } ; \ No newline at end of file diff --git a/contrib/textmate/textmate.factor b/contrib/textmate/textmate.factor new file mode 100644 index 0000000000..51cc50050d --- /dev/null +++ b/contrib/textmate/textmate.factor @@ -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 \ No newline at end of file