Handbook
Glossary
prev-line-and-this ( document line -- start end )
Vocabulary
ui
.
gadgets
.
editors
.
private
Inputs
document
an
object
line
an
object
Outputs
start
an
object
end
an
object
Definition
USING:
arrays
documents
kernel
math
;
IN:
ui.gadgets.editors.private
:
prev-line-and-this
( document line -- start end )
swap
[
drop
1
-
0
2array
]
[
line-end
]
2bi
;