]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.smultron: adding Smultron support.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 15 Nov 2020 03:38:02 +0000 (19:38 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 15 Nov 2020 03:38:02 +0000 (19:38 -0800)
basis/editors/smultron/authors.txt [new file with mode: 0644]
basis/editors/smultron/smultron.factor [new file with mode: 0644]
basis/editors/smultron/summary.txt [new file with mode: 0644]

diff --git a/basis/editors/smultron/authors.txt b/basis/editors/smultron/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/basis/editors/smultron/smultron.factor b/basis/editors/smultron/smultron.factor
new file mode 100644 (file)
index 0000000..1c1688f
--- /dev/null
@@ -0,0 +1,9 @@
+USING: editors kernel make namespaces ;
+IN: editors.smultron
+
+SINGLETON: smultron
+smultron editor-class set-global
+
+M: smultron editor-command
+    drop
+    [ "open" , "-a" , "Smultron" , , ] { } make ;
diff --git a/basis/editors/smultron/summary.txt b/basis/editors/smultron/summary.txt
new file mode 100644 (file)
index 0000000..788c6dc
--- /dev/null
@@ -0,0 +1 @@
+Smultron editor integration