editors.geany: Add support.

db4
Doug Coleman 2013-04-09 16:41:07 -07:00
parent 5114333d57
commit 03015e7075
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1 @@
Doug Coleman

View File

@ -0,0 +1,19 @@
! Copyright (C) 2013 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: editors fry kernel make math.parser namespaces system ;
IN: editors.geany
SINGLETON: geany
geany editor-class set-global
HOOK: geany-path os ( -- path )
M: unix geany-path
\ geany-path get-global [ "geany" ] unless* ;
M: geany editor-command
'[
geany-path ,
_ ,
"--line" , _ number>string ,
] { } make ;