factor/basis/editors/textedit/textedit.factor

11 lines
265 B
Factor
Raw Normal View History

2008-09-11 21:15:59 -04:00
USING: definitions io.launcher kernel math math.parser parser
namespaces prettyprint editors make ;
IN: editors.textedit
: textedit ( file line -- )
2008-09-11 21:15:59 -04:00
drop
[ "open" , "-a" , "TextEdit", , ] { } make
run-detached drop ;
2008-09-11 21:15:59 -04:00
[ textedit ] edit-hook set-global