Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

rich-edit-selected-range

Arguments: text-edit-pane &key (format :rich-text)

The function returns a string for the currently selected text of window. Calling this function is the same as calling rich-edit-range and passing in the start and end of the current selection. If format is :rich-text (the default), then a rich-text string is returned. If it is :text, then a plain-text string is returned.

The setf function writes a string over the current selection of window. Calling it is the same as calling setf on rich-edit-range and passing in the start and end of the current selection. If format is :rich-text (the default), then string should be a rich-text string, which will be inserted using its own formatting. If it is :text, then string should be a plain-text string, which will be inserted using the formatting at the current position of the text-edit-pane.

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


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1