write in editor-data%

Writes the data to the specified stream, returning #t if data is written successfully or #f otherwise.