selection-spans ( start end font string -- spans )


Vocabulary
ui.text

Inputs
startan integer
endan integer
fonta font
stringa string


Outputs
spansa sequence of pairs of real numbers


Generic word contract
Outputs the visual x intervals occupied by a logical selection. Each pair contains the left and right edges in logical display coordinates. A bidirectional selection may occupy several disjoint intervals. An empty selection produces a zero-width interval at the caret.

Definition


Methods