1 ! Copyright (C) 2009 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: arrays editors io.directories kernel namespaces
4 sequences windows.shell32 ;
10 editor-class [ notepad ] initialize
12 : notepad-path ( -- path )
15 [ "notepad.exe" tail? ] find-file
18 M: notepad editor-command
19 drop [ notepad-path ] dip 2array ;