Handbook
Glossary
focus-command ( file line -- command )
Vocabulary
editors
.
focus
Inputs
file
an
object
line
an
object
Outputs
command
an
object
Definition
USING:
system
;
IN:
editors.focus
HOOK:
focus-command
os
( file line -- command )
Methods
USING:
editors.focus
editors.focus.macos
kernel
make
math.parser
sequences
system
;
M:
macos
focus-command
supports-open-to-line?
[
number>string
":"
glue
]
[
drop
]
if
[
"open"
,
"-a"
,
"Focus"
,
,
]
{
}
make
;
USING:
arrays
editors.focus
kernel
;
M:
object
focus-command
focus-path
nip
swap
2array
;