diff --git a/extra/editors/notepadpp/authors.txt b/extra/editors/notepadpp/authors.txt new file mode 100644 index 0000000000..7c1b2f2279 --- /dev/null +++ b/extra/editors/notepadpp/authors.txt @@ -0,0 +1 @@ +Doug Coleman diff --git a/extra/editors/notepadpp/notepadpp.factor b/extra/editors/notepadpp/notepadpp.factor new file mode 100644 index 0000000000..080910731d --- /dev/null +++ b/extra/editors/notepadpp/notepadpp.factor @@ -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