factor/basis/editors/textedit/textedit.factor

11 lines
287 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
SINGLETON: textedit
textedit editor-class set-global
2008-09-11 21:15:59 -04:00
M: textedit editor-command ( file line -- command )
drop
[ "open" , "-a" , "TextEdit" , , ] { } make ;