factor/extra/editors/notepadpp/notepadpp.factor

14 lines
397 B
Factor
Raw Normal View History

2007-11-24 21:48:29 -05:00
USING: editors io.launcher math.parser namespaces ;
IN: notepadpp
: notepadpp ( file line -- )
[
\ notepadpp get-global % " -n" % # " " % %
] "" make run-detached ;
! Put in your .factor-boot-rc
! "c:\\Program Files\\notepad++\\notepad++.exe" \ notepadpp set-global
! "k:\\Program Files (x86)\\notepad++\\notepad++.exe" \ notepadpp set-global
[ notepadpp ] edit-hook set-global