factor/basis/editors/textedit/textedit.factor

11 lines
286 B
Factor

USING: definitions io.launcher kernel math math.parser parser
namespaces prettyprint editors make ;
IN: editors.textedit
SINGLETON: textedit
textedit editor-class set-global
M: textedit editor-command ( file line -- command )
drop
[ "open" , "-a" , "TextEdit", , ] { } make ;