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