Add notepad++ support to factor

release
Doug Coleman 2007-11-24 20:48:29 -06:00
parent a0cb14e758
commit fa630952f3
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1 @@
Doug Coleman

View File

@ -0,0 +1,13 @@
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