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