EditPadPro automatically configures path
parent
4085ee278d
commit
ef70996128
|
@ -1,8 +1,15 @@
|
||||||
USING: definitions kernel parser words sequences math.parser
|
USING: definitions kernel parser words sequences math.parser
|
||||||
namespaces editors io.launcher ;
|
namespaces editors io.launcher windows.shell32 io.files
|
||||||
|
strings ;
|
||||||
IN: editors.editpadpro
|
IN: editors.editpadpro
|
||||||
|
|
||||||
|
: editpadpro-path
|
||||||
|
\ editpadpro-path get-global [
|
||||||
|
program-files "JGsoft" path+ walk-dir
|
||||||
|
[ >lower "editpadpro.exe" tail? ] find nip
|
||||||
|
] unless* ;
|
||||||
|
|
||||||
: editpadpro ( file line -- )
|
: editpadpro ( file line -- )
|
||||||
[ "editpadpro.exe /l" % # " \"" % % "\"" % ] "" make run-process ;
|
[ editpadpro-path % " /l" % # " \"" % % "\"" % ] "" make run-detached ;
|
||||||
|
|
||||||
[ editpadpro ] edit-hook set-global
|
[ editpadpro ] edit-hook set-global
|
||||||
|
|
Loading…
Reference in New Issue