scheme/gui doc fixes (ok to merge to 4.1.4)

svn: r13222
This commit is contained in:
Matthew Flatt 2009-01-19 15:48:04 +00:00
parent c4630e4526
commit 20fad3e2b8
3 changed files with 5 additions and 5 deletions

View File

@ -21,10 +21,10 @@ Returns @scheme[#t] if there has been an error reading from the
}
@defmethod[(read [data (and/c bytes? (not/c immutable?))])
@defmethod[(read [data (and/c vector? (not immutable?))])
exact-nonnegative-integer?]{
Reads characters to fill the supplied vector. The return value is the
Reads Latin-1 characters to fill the supplied vector. The return value is the
number of characters read, which may be less than the number
requested if the stream is emptied. If the stream is emptied, the
next call to @method[editor-stream-in-base% bad?] must return

View File

@ -36,9 +36,9 @@ Returns the current stream position.
}
@defmethod[(write [data bytes?])
@defmethod[(write [data (listof char?)])
void?]{
Writes data to the stream.
Writes data (encoded as Latin-1 characters) to the stream.
}}

View File

@ -9,7 +9,7 @@ A @scheme[text%] object is a standard text editor. A text editor is
@defconstructor[([line-spacing (and/c real? (not/c negative?)) 1.0]
[tab-stops (listof real?)]
[tab-stops (listof real?) null]
[auto-wrap any/c #f])]{
The @scheme[line-spacing] argument sets the additional amount of space