1 ! Copyright (C) 2014 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: editors io.pathnames io.standard-paths kernel make
4 math.parser namespaces sequences system ;
9 editor-class [ atom ] initialize
13 HOOK: find-atom os ( -- path )
16 "atom" ?find-in-path ;
19 "com.github.Atom" find-native-bundle [
20 "Contents/MacOS/Atom" append-path
25 M: atom editor-command
27 atom-path get [ find-atom ] unless* ,
28 number>string ":" glue ,