Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

rich-edit-save-as

Arguments: pane &key path allowed-types format

Saves the contents of the rich-edit-pane  pane to a new file named by path.

path may be a pathname, a path namestring, or nil. When nil, ask-user-for-new-pathname is called to ask for the path to which to save the contents.

format may be :rich-text (the default) to save rich text, or :text to save plain text. This argument is passed to rich-edit-range to retrieve the text to save.

allowed-types may be a value to pass as the allowed-types argument to ask-user-for-new-pathname (if it is called), or nil. When nil, the value will default to (("Rich text" . "*.rtf")) when format is :rich-text or to (("Text" . "*.txt")) when format is :text.

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


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version