1 USING: editors io.pathnames io.standard-paths kernel make
2 math.parser namespaces system ;
7 editor-class [ ultraedit ] initialize
9 HOOK: find-ultraedit os ( -- path )
11 M: windows find-ultraedit
12 { "IDM Computer Solutions" } "uedit32.exe" find-in-applications
13 [ "uedit32.exe" ] unless* ;
15 M: macosx find-ultraedit
16 "com.idmcomp.uex" find-native-bundle [
17 "Contents/MacOS/UltraEdit" append-path
22 : ultraedit-path ( -- path )
23 \ ultraedit-path get-global [ find-ultraedit ] unless* ;
25 M: ultraedit editor-command
29 [ swap % "/" % # "/1" % ] "" make