fix windows editors

db4
Doug Coleman 2008-12-15 21:45:18 -06:00
parent d93384bbcd
commit f04e74f78f
15 changed files with 35 additions and 14 deletions

View File

@ -1,6 +1,6 @@
USING: definitions kernel parser words sequences math.parser USING: definitions kernel parser words sequences math.parser
namespaces editors io.launcher windows.shell32 io.files namespaces editors io.launcher windows.shell32 io.files
io.paths.windows strings unicode.case make ; io.directories.search.windows strings unicode.case make ;
IN: editors.editpadlite IN: editors.editpadlite
: editpadlite-path ( -- path ) : editpadlite-path ( -- path )

View File

@ -1,6 +1,6 @@
USING: definitions kernel parser words sequences math.parser USING: definitions kernel parser words sequences math.parser
namespaces editors io.launcher windows.shell32 io.files namespaces editors io.launcher windows.shell32 io.files
io.paths.windows strings unicode.case make ; io.directories.search.windows strings unicode.case make ;
IN: editors.editpadpro IN: editors.editpadpro
: editpadpro-path ( -- path ) : editpadpro-path ( -- path )

View File

@ -1,5 +1,6 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences windows.shell32 make io.paths.windows ; namespaces sequences windows.shell32 make
io.directories.search.windows ;
IN: editors.editplus IN: editors.editplus
: editplus-path ( -- path ) : editplus-path ( -- path )

View File

@ -1,5 +1,6 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences windows.shell32 make io.paths.windows ; namespaces sequences windows.shell32 make
io.directories.search.windows ;
IN: editors.emeditor IN: editors.emeditor
: emeditor-path ( -- path ) : emeditor-path ( -- path )

View File

@ -1,7 +1,7 @@
! Copyright (C) 2008 Kibleur Christophe. ! Copyright (C) 2008 Kibleur Christophe.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser make
namespaces sequences windows.shell32 io.paths.windows make ; namespaces sequences windows.shell32 io.directories.search.windows ;
IN: editors.etexteditor IN: editors.etexteditor
: etexteditor-path ( -- str ) : etexteditor-path ( -- str )

View File

@ -1,5 +1,6 @@
USING: editors.gvim io.files kernel namespaces sequences USING: editors.gvim io.files kernel namespaces sequences
windows.shell32 io.paths.windows system ; windows.shell32 io.directories.search.windows system
io.pathnames ;
IN: editors.gvim.windows IN: editors.gvim.windows
M: windows gvim-path M: windows gvim-path

View File

@ -1,10 +1,10 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences windows.shell32 make ; namespaces sequences windows.shell32 make io.pathnames ;
IN: editors.notepad2 IN: editors.notepad2
: notepad2-path ( -- path ) : notepad2-path ( -- path )
\ notepad2-path get-global [ \ notepad2-path get-global [
"C:\\Windows\\system32\\notepad.exe" windows-directory "system32\\notepad.exe" append-path
] unless* ; ] unless* ;
: notepad2 ( file line -- ) : notepad2 ( file line -- )

View File

@ -1,5 +1,5 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences io.paths.windows make ; namespaces sequences io.directories.search.windows make ;
IN: editors.notepadpp IN: editors.notepadpp
: notepadpp-path ( -- path ) : notepadpp-path ( -- path )

View File

@ -1,7 +1,7 @@
! Copyright (C) 2007 Clemens F. Hofreither. ! Copyright (C) 2007 Clemens F. Hofreither.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
! clemens.hofreither@gmx.net ! clemens.hofreither@gmx.net
USING: io.files io.launcher kernel namespaces io.paths.windows USING: io.files io.launcher kernel namespaces io.directories.search.windows
math math.parser editors sequences make unicode.case ; math math.parser editors sequences make unicode.case ;
IN: editors.scite IN: editors.scite

View File

@ -1,5 +1,5 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences io.paths.windows make ; namespaces sequences io.directories.search.windows make ;
IN: editors.ted-notepad IN: editors.ted-notepad
: ted-notepad-path ( -- path ) : ted-notepad-path ( -- path )

View File

@ -0,0 +1 @@
Doug Coleman

View File

@ -0,0 +1 @@
TextPad editor integration

View File

@ -0,0 +1,16 @@
USING: editors io.files io.launcher kernel math.parser
namespaces sequences make io.directories.search
io.directories.search.windows ;
IN: editors.textpad
: textpad-path ( -- path )
\ textpad-path get-global [
"TextPad 5" t [ "TextPad.exe" tail? ] find-in-program-files
] unless* ;
: textpad ( file line -- )
[
textpad-path , [ , ] [ number>string "(" ",0)" surround , ] bi*
] { } make run-detached drop ;
[ textpad ] edit-hook set-global

View File

@ -1,5 +1,5 @@
USING: editors io.files io.launcher kernel math.parser USING: editors io.files io.launcher kernel math.parser
namespaces sequences io.paths.windows make ; namespaces sequences io.directories.search.windows make ;
IN: editors.ultraedit IN: editors.ultraedit
: ultraedit-path ( -- path ) : ultraedit-path ( -- path )

View File

@ -1,4 +1,4 @@
USING: editors io.launcher kernel io.paths.windows USING: editors io.launcher kernel io.directories.search.windows
math.parser namespaces sequences io.files arrays ; math.parser namespaces sequences io.files arrays ;
IN: editors.wordpad IN: editors.wordpad