1 USING: editors io.files io.launcher io.standard-paths kernel
2 math.parser namespaces sequences make ;
3 IN: editors.ted-notepad
6 ted-notepad editor-class set-global
8 : ted-notepad-path ( -- path )
9 \ ted-notepad-path get [
10 { "TED Notepad" } "tednpad.exe" find-in-applications
11 [ "TedNPad.exe" ] unless*
14 M: ted-notepad editor-command ( file line -- command )
17 number>string "/l" prepend , ,