Corrected a bug where empty boxes were not being erased of cue-text after

the first focus. Added a call to clear-cue-text on write.

svn: r1853
This commit is contained in:
Kathy Gray 2006-01-17 22:29:15 +00:00
parent f81cf986b5
commit 6a2fb814ea

View File

@ -183,9 +183,13 @@
#;((is-a?/c editor-stream-out%) . -> . void?)
;; Write the example to file
(define/public (write f)
(send type write-to-file f)
(send name write-to-file f)
(send value write-to-file f))
(for-each (lambda (t)
(send* t
(begin-edit-sequence)
(clear-cue-text)
(write-to-file f)
(end-edit-sequence)))
(list type name value)))
#;((is-a?/c editor-stream-out%) . -> . void?)
;; Read the state of the example in from file