draw-selected-string-default ( font selection height -- )


Vocabulary
ui.text.private

Inputs
fontan object
selectionan object
heightan object


Outputs
None

Definition


:: draw-selected-string-default ( font selection height -- )
draws-selection-background? [
selection [ start>> ] [ end>> ] [ string>> ] tri
:> ( start end string ) start end font string
selection-spans
selection color>> 0 height draw-selection-rects
] unless font selection draw-string ;