repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git]
/
basis
/
editors
/
textedit
/
textedit.factor
blob
cccc94b53985d28d94f4db867815ad0ec3665d58
1
USING: definitions io.launcher kernel math math.parser parser
2
namespaces prettyprint editors make ;
3
IN: editors.textedit
4
5
: textedit-location ( file line -- )
6
drop
7
[ "open" , "-a" , "TextEdit", , ] { } make
8
try-process ;
9
10
[ textedit-location ] edit-hook set-global