1 USING: editors io.pathnames io.standard-paths kernel make
2 math.parser namespaces sequences system ;
8 editor-class [ cudatext ] initialize
10 HOOK: find-cudatext-path os ( -- path )
12 M: object find-cudatext-path f ;
14 M: macosx find-cudatext-path
15 "com.uvviewsoft.cudatext" find-native-bundle [
16 "Contents/MacOS/cudatext" append-path
21 : cudatext-path ( -- path )
23 find-cudatext-path [ "cudatext" ?find-in-path ] unless*
26 M: cudatext editor-command
28 cudatext-path , number>string ":" glue ,