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