Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version