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

## rich-edit

### Class

The control built on `rich-edit-pane`. Shares its automatic linking-up features. This class is a subclass of `multi-line-editable-text` control class that can display so-called rich text, with multiple fonts, text colors, paragraph justifications, and other text formatting. The control can read and write standard .rtf (Rich Text Format) files. The formatting may be modified programmatically by calling functions such as set-character-format and set-paragraph-format, or interactively by the end user if any rich-edit "helper" controls exist on the same parent window or some descendent window of it (such as a toolbar). The rich-edit helper controls are the `rich-edit-multipic`, `font-face-combo-box`, `font-size-combo-box`, and `rich-edit-ruler`.

See cg-rich-text.htm for information about rich text editing in Common Graphics.

A diagram of window and widget classes is shown in Widget and window classes in cgide.htm.

### GTK note

Formated editable text is not yet implemented on the GTK platform. It appears feasible to implement functions such as set-character-format and set-paragraph-format that modify the text formatting of an edit control, but not to implement functions such as rich-text and rich-edit-range that handle actual rich text strings.

Attempting to create a `rich-edit` widget or a `rich-edit-pane` window currently will error on GTK.

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