add textwrangler binding
							parent
							
								
									a861292f60
								
							
						
					
					
						commit
						c89ee5bfcc
					
				| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Ben Schlingelhof
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Textwrangler editor integration
 | 
			
		||||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
		Loading…
	
		Reference in New Issue