]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.notepadpp: Move to editors.notepad++ since + is fine in pathnames
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 9 Apr 2013 20:33:37 +0000 (13:33 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 9 Apr 2013 20:34:26 +0000 (13:34 -0700)
and that's the editor's name!

basis/editors/notepad++/authors.txt [new file with mode: 0644]
basis/editors/notepad++/notepad++.factor [new file with mode: 0644]
basis/editors/notepad++/summary.txt [new file with mode: 0644]
basis/editors/notepad++/tags.txt [new file with mode: 0644]
basis/editors/notepadpp/authors.txt [deleted file]
basis/editors/notepadpp/notepadpp.factor [deleted file]
basis/editors/notepadpp/summary.txt [deleted file]
basis/editors/notepadpp/tags.txt [deleted file]

diff --git a/basis/editors/notepad++/authors.txt b/basis/editors/notepad++/authors.txt
new file mode 100644 (file)
index 0000000..7c1b2f2
--- /dev/null
@@ -0,0 +1 @@
+Doug Coleman
diff --git a/basis/editors/notepad++/notepad++.factor b/basis/editors/notepad++/notepad++.factor
new file mode 100644 (file)
index 0000000..2f6393f
--- /dev/null
@@ -0,0 +1,18 @@
+USING: editors io.files io.launcher kernel math.parser
+namespaces sequences io.directories.search.windows make ;
+IN: editors.notepadpp
+
+SINGLETON: notepadpp
+notepadpp editor-class set-global
+
+: notepadpp-path ( -- path )
+    \ notepadpp-path get-global [
+        "notepad++" [ "notepad++.exe" tail? ] find-in-program-files
+        [ "notepad++.exe" ] unless*
+    ] unless* ;
+
+M: notepadpp editor-command ( file line -- command )
+    [
+        notepadpp-path ,
+        number>string "-n" prepend , ,
+    ] { } make ;
diff --git a/basis/editors/notepad++/summary.txt b/basis/editors/notepad++/summary.txt
new file mode 100644 (file)
index 0000000..8988904
--- /dev/null
@@ -0,0 +1 @@
+Notepad++ editor integration
diff --git a/basis/editors/notepad++/tags.txt b/basis/editors/notepad++/tags.txt
new file mode 100644 (file)
index 0000000..ebb74b4
--- /dev/null
@@ -0,0 +1 @@
+not loaded
diff --git a/basis/editors/notepadpp/authors.txt b/basis/editors/notepadpp/authors.txt
deleted file mode 100644 (file)
index 7c1b2f2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Doug Coleman
diff --git a/basis/editors/notepadpp/notepadpp.factor b/basis/editors/notepadpp/notepadpp.factor
deleted file mode 100644 (file)
index 2f6393f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-USING: editors io.files io.launcher kernel math.parser
-namespaces sequences io.directories.search.windows make ;
-IN: editors.notepadpp
-
-SINGLETON: notepadpp
-notepadpp editor-class set-global
-
-: notepadpp-path ( -- path )
-    \ notepadpp-path get-global [
-        "notepad++" [ "notepad++.exe" tail? ] find-in-program-files
-        [ "notepad++.exe" ] unless*
-    ] unless* ;
-
-M: notepadpp editor-command ( file line -- command )
-    [
-        notepadpp-path ,
-        number>string "-n" prepend , ,
-    ] { } make ;
diff --git a/basis/editors/notepadpp/summary.txt b/basis/editors/notepadpp/summary.txt
deleted file mode 100644 (file)
index 8988904..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Notepad++ editor integration
diff --git a/basis/editors/notepadpp/tags.txt b/basis/editors/notepadpp/tags.txt
deleted file mode 100644 (file)
index ebb74b4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-not loaded