Handbook
Glossary
highlight-lines ( lines mode -- )
Vocabulary
xmode
.
highlight
Inputs
lines
a
sequence
mode
a
string
Outputs
None
Word description
Highlight lines of code, according to the specified
mode
.
Definition
USING:
kernel
sequences
xmode.catalog
xmode.marker
;
IN:
xmode.highlight
:
highlight-lines
( lines mode -- )
[
f
]
2dip
load-mode
[
tokenize-line
highlight-tokens
]
curry
each
drop
;