Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

parentheses-matched

Arguments: lisp-edit-pane file-position type matches-closing in-view

This generic function is called whenever the text cursor in a lisp-edit-pane is moved so that it is just before an opening parenthesis or just after a closing parenthesis, if there is a matching parenthesis within the top-level lisp form that the text cursor is in. It is also called for matching double-quote characters of literal strings.

There is no need for an application to call this function, but it may add methods to implement side effects. A lisp-edit-pane will automatically draw a mark to indicate the matching parenthesis if it is in view (according to parenthesis-matching-style and parenthesis-matching-color), but an application may also wish to add a status-bar message, for example, particularly if the matching parenthesis is not in view.

The default method that specializes on lisp-edit-pane does nothing. (The IDE editor adds an internal method to its lisp-edit-pane subclass for status-bar messages.)

The method will be called with the following arguments:


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version