Handbook
Glossary
editor-mark ( editor -- loc )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
The caret and mark
Prev:
editor-caret ( editor -- loc )
Next:
change-caret ( editor quot: ( loc document -- newloc ) -- )
Vocabulary
ui
.
gadgets
.
editors
Inputs
editor
an
editor
Outputs
loc
a pair of integers
Word description
Outputs the current mark location as a line/column number pair.
See also
editor-caret
Definition
USING:
accessors
;
IN:
ui.gadgets.editors
:
editor-mark
( editor -- loc )
mark>>
value>>
;