prev-elt ( loc document elt -- newloc )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » Documents » Document elements

Prev:doc-elt
Next:next-elt ( loc document elt -- newloc )


Vocabulary
documents.elements

Inputs
loca pair of integers
documenta document
eltan element


Outputs
newloca pair of integers


Generic word contract
Outputs the location of the first occurrence of the element prior to loc.

See also
next-elt

Definition

GENERIC: prev-elt ( loc document elt -- newloc )


Methods