diff --git a/collects/scribblings/gui/editor-stream-in-base-class.scrbl b/collects/scribblings/gui/editor-stream-in-base-class.scrbl index fd336631..adc5952e 100644 --- a/collects/scribblings/gui/editor-stream-in-base-class.scrbl +++ b/collects/scribblings/gui/editor-stream-in-base-class.scrbl @@ -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 diff --git a/collects/scribblings/gui/editor-stream-out-base-class.scrbl b/collects/scribblings/gui/editor-stream-out-base-class.scrbl index fa05dc5d..d45aabb5 100644 --- a/collects/scribblings/gui/editor-stream-out-base-class.scrbl +++ b/collects/scribblings/gui/editor-stream-out-base-class.scrbl @@ -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. }} diff --git a/collects/scribblings/gui/text-class.scrbl b/collects/scribblings/gui/text-class.scrbl index a66ba7d0..edb4ad2a 100644 --- a/collects/scribblings/gui/text-class.scrbl +++ b/collects/scribblings/gui/text-class.scrbl @@ -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