|
superclass: object% |
An editor-data% object contains extra data associated to a
snip or region in an editor. See also Editor Data.
constructor
(new editor-data%) → (is-a?/c editor-data%)
The element returned by get-next is initialized
to #f.
method
(send an-editor-data get-dataclass)
→ (or/c (is-a?/c editor-data-class%) #f)
Gets the class for this data.
method
→ (or/c (is-a?/c editor-data%) #f)
Gets the next editor data element in a list of editor data elements.
A #f terminates the list.
method
(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.
method
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.