on-format-change

Generic Function

Package: common-graphics

Arguments: rich-edit

Returns (or sets with setf) the value of the on-format-change event property of rich-edit, which should be and instance of the rich-edit control class. The value should be a function object or a function name (a symbol naming a function). This function is called whenever a formating change is made to the rich-edit control. The value can also be nil, in which case no function si called.

The function should take three arguments: (1) widget --- the rich-edit control, (2) type --- either the symbol :character or the symbol :paragraph, indicating which type of format change occurred, and (3) args --- the list of keyword arguments that were passed either to set-character-format or set-paragraph-format

See About Rich Text Editing in Common Graphics in cgide.htm.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.