1 ! Copyright (C) 2013 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: combinators.short-circuit editors io.standard-paths
4 kernel make math.parser namespaces system ;
8 geany editor-class set-global
12 HOOK: find-geany-path os ( -- path )
14 M: unix find-geany-path "geany" ;
16 M: windows find-geany-path
18 [ { "Geany" } "geany.exe" find-in-applications ]
22 M: geany editor-command
24 geany-path get [ find-geany-path ] unless* ,
26 "--line" , _ number>string ,