[previous] [up] [next]     [index]
Next: Encoding Snips Up: Editor Toolbox Previous: Styles

File Format

Editor data can be read and written using editor-stream-in% and editor-stream-out% objects.

Editor information can only be read from or written to one stream at a time. To write one or more editors to a stream, first call the function write-editor-global-header to write initialization data into an output stream. When all editors are written to the stream, call write-editor-global-footer. Similarly, reading editors from a stream is initialized with read-editor-global-header and finalized with read-editor-global-footer.

The editor file data format can be embedded within another file, and it can be extended with new kinds of data. The editor file format can be extended in two ways: with snip- or content-specific data, and with editor-specific global data. These are descibed in the remainder of this section.





PLT