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 ;
8 atom-editor editor-class set-global
12 HOOK: find-atom os ( -- path )
15 "atom" ?find-in-path ;
18 "com.github.Atom" find-native-bundle [
19 "Contents/MacOS/Atom" append-path
24 M: atom-editor editor-command
26 atom-path get [ find-atom ] unless* ,
27 number>string ":" glue ,