editor-caret ( editor -- loc )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » The caret and mark

Next:editor-mark ( editor -- loc )


Vocabulary
ui.gadgets.editors

Inputs
editoran editor


Outputs
loca pair of integers


Word description
Outputs the current caret location as a line/column number pair.

See also
editor-mark

Definition