LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

text-input-pane-selection

Function
Summary

Returns the bounds of the selection in a text-input-pane.

Package

capi

Signature

text-input-pane-selection pane => start , end

Arguments

pane

A text-input-pane.

Values

start, end

Non-negative integers.

Description

The function text-input-pane-selection returns as multiple values the bounding indexes of the selection in pane . That is, start is the inclusive index of the first selected character, and end is one greater than the index of the last selected character.

If there is no selection, then both start and end are the caret position in pane .

See also

set-text-input-pane-selection
text-input-pane
text-input-pane-selected-text
text-input-pane-selection-p


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex