]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.subethaedit: adding SubEthaEdit editor support.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 26 Dec 2021 19:42:02 +0000 (11:42 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 26 Dec 2021 19:44:28 +0000 (11:44 -0800)
basis/editors/subethaedit/authors.txt [new file with mode: 0644]
basis/editors/subethaedit/subethaedit.factor [new file with mode: 0644]
basis/editors/subethaedit/summary.txt [new file with mode: 0644]
basis/editors/subethaedit/tags.txt [new file with mode: 0644]

diff --git a/basis/editors/subethaedit/authors.txt b/basis/editors/subethaedit/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/basis/editors/subethaedit/subethaedit.factor b/basis/editors/subethaedit/subethaedit.factor
new file mode 100644 (file)
index 0000000..aa1b5f8
--- /dev/null
@@ -0,0 +1,10 @@
+USING: definitions io.launcher kernel math math.parser parser
+namespaces prettyprint editors make ;
+IN: editors.subethaedit
+
+SINGLETON: subethaedit
+subethaedit editor-class set-global
+
+M: subethaedit editor-command
+    drop
+    [ "open" , "-a" , "SubEthaEdit" , , ] { } make ;
diff --git a/basis/editors/subethaedit/summary.txt b/basis/editors/subethaedit/summary.txt
new file mode 100644 (file)
index 0000000..c7483eb
--- /dev/null
@@ -0,0 +1 @@
+SubEthaEdit editor integration
diff --git a/basis/editors/subethaedit/tags.txt b/basis/editors/subethaedit/tags.txt
new file mode 100644 (file)
index 0000000..ebb74b4
--- /dev/null
@@ -0,0 +1 @@
+not loaded