add textwrangler binding

db4
erg 2008-04-02 15:11:11 -05:00
parent a861292f60
commit c89ee5bfcc
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
Ben Schlingelhof

View File

@ -0,0 +1 @@
Textwrangler editor integration

View File

@ -0,0 +1,13 @@
! Copyright (C) 2008 Ben Schlingelhof.
! See http://factorcode.org/license.txt for BSD license.
USING: definitions io.launcher kernel parser words sequences
math math.parser namespaces editors ;
IN: editors.textwrangler
: tw ( file line -- )
[ "edit +" % # " " % % ] "" make run-process drop ;
: tw-word ( word -- )
where first2 tw ;
[ tw ] edit-hook set-global