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 ;
9 editor-class [ geany ] initialize
13 HOOK: find-geany-path os ( -- path )
15 M: unix find-geany-path "geany" ;
17 M: windows find-geany-path
19 [ { "Geany" } "geany.exe" find-in-applications ]
23 M: geany editor-command
25 geany-path get [ find-geany-path ] unless* ,
27 "--line" , _ number>string ,