Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## selection-changed

Arguments: text-pane-or-control

If the notify-when-selection-changed property is turned on for a multi-line text pane or control, then whenever the text cursor changes position or different text is selected, the generic function selection-changed is called. An application may add selection-changed methods to see if it wants to respond to the text cursor movement. The single argument is the text pane or control. The return value is ignored.

The default for notify-when-selection-changed is `nil` for `text-edit-pane` and `multi-line-editable-text`, but is t for `lisp-edit-pane` to trigger parenthesis matching in the development environment. The notifications are turned off by default in case they slow down text editing interaction, though this is unlikely to be noticeable; when the property is turned on, the default selection-changed method does nothing for `text-edit-pane` and `multi-line-editable-text`.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version