1 USING: editors io.files io.launcher kernel math.parser
2 namespaces sequences windows.shell32 make io.paths.windows ;
5 : emeditor-path ( -- path )
6 \ emeditor-path get-global [
7 "EmEditor" t [ "EmEditor.exe" tail? ] find-in-program-files
10 : emeditor ( file line -- )
12 emeditor-path , "/l" , number>string , ,
13 ] { } make run-detached drop ;
15 [ emeditor ] edit-hook set-global