All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

display-pane-selection

Function
Summary

Returns the bounds of the selection in a display-pane.

Package

capi

Signature

display-pane-selection pane => start , end

Arguments

pane

A display-pane.

Values

start, end

Non-negative integers.

Description

The function display-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-display-pane-selection
display-pane
display-pane-selected-text
display-pane-selection-p


CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017

NextPrevUpTopContentsIndex