editor-data% : class? |
superclass: object% |
An editor-data% object contains extra data associated to a
snip or region in an editor. See also Editor Data.
(new editor-data%) → (is-a?/c editor-data%) |
The element returned by get-next is initialized
to #f.
(send an-editor-data get-dataclass) |
→ (or/c (is-a?/c editor-data-class%) false/c) |
Gets the class for this data.
Gets the next editor data element in a list of editor data elements.
A #f terminates the list.
(send an-editor-data set-dataclass v) → void? |
v : (is-a?/c editor-data-class%) |
Sets the class for this data.
Sets the next editor data element in a list of editor data elements.
A #f terminates the list.
(send an-editor-data write f) → boolean? |
f : (is-a?/c editor-stream-out%) |
Specification:
Writes the data to the specified stream, returning #t if data
is written successfully or #f otherwise.
Default implementation:
Returns #f.