1 ! Copyright (C) 2008 Kibleur Christophe.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: editors io.standard-paths kernel make math.parser
5 IN: editors.etexteditor
8 etexteditor editor-class set-global
10 : etexteditor-path ( -- str )
11 \ etexteditor-path get [
12 { "e" } "e.exe" find-in-applications
16 M: etexteditor editor-command ( file line -- command )
19 [ , ] [ "--line" , number>string , ] bi*