ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.7.29.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version