editors.cot: adding CotEditor support.
parent
a1f91ba482
commit
2e00389e7d
|
@ -0,0 +1 @@
|
|||
John Benediktsson
|
|
@ -0,0 +1,16 @@
|
|||
USING: editors io.pathnames io.standard-paths kernel make
|
||||
math.parser ;
|
||||
IN: editors.cot
|
||||
|
||||
SINGLETON: cot
|
||||
cot editor-class set-global
|
||||
|
||||
: find-cot-bundle-path ( -- path/f )
|
||||
"com.coteditor.CotEditor" find-native-bundle [
|
||||
"Contents/MacOS/cot" append-path
|
||||
] [
|
||||
f
|
||||
] if* ;
|
||||
|
||||
M: cot editor-command ( file line -- command )
|
||||
[ find-cot-bundle-path , "-l" , # , ] { } make ;
|
|
@ -0,0 +1 @@
|
|||
CotEditor integration
|
|
@ -0,0 +1 @@
|
|||
not loaded
|
Loading…
Reference in New Issue