2007-12-09 11:56:47 -05:00
|
|
|
USING: editors hardware-info.windows io.files io.launcher
|
2008-09-12 11:36:00 -04:00
|
|
|
kernel math.parser namespaces sequences windows.shell32
|
|
|
|
make ;
|
2007-12-04 00:31:03 -05:00
|
|
|
IN: editors.emeditor
|
|
|
|
|
2007-12-09 11:56:47 -05:00
|
|
|
: emeditor-path ( -- path )
|
|
|
|
\ emeditor-path get-global [
|
2008-03-19 20:15:32 -04:00
|
|
|
program-files "\\EmEditor\\EmEditor.exe" append-path
|
2007-12-09 11:56:47 -05:00
|
|
|
] unless* ;
|
|
|
|
|
2007-12-04 00:31:03 -05:00
|
|
|
: emeditor ( file line -- )
|
|
|
|
[
|
2008-01-24 02:50:40 -05:00
|
|
|
emeditor-path , "/l" , number>string , ,
|
|
|
|
] { } make run-detached drop ;
|
2007-12-04 00:31:03 -05:00
|
|
|
|
|
|
|
[ emeditor ] edit-hook set-global
|