scheme/gui doc fixes (ok to merge to 4.1.4)
svn: r13222 original commit: 20fad3e2b88ce0c783e5a644aff0fcb8da955415
This commit is contained in:
parent
8c9abb44de
commit
7c51232ab6
|
@ -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?]{
|
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
|
number of characters read, which may be less than the number
|
||||||
requested if the stream is emptied. If the stream is emptied, the
|
requested if the stream is emptied. If the stream is emptied, the
|
||||||
next call to @method[editor-stream-in-base% bad?] must return
|
next call to @method[editor-stream-in-base% bad?] must return
|
||||||
|
|
|
@ -36,9 +36,9 @@ Returns the current stream position.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@defmethod[(write [data bytes?])
|
@defmethod[(write [data (listof char?)])
|
||||||
void?]{
|
void?]{
|
||||||
|
|
||||||
Writes data to the stream.
|
Writes data (encoded as Latin-1 characters) to the stream.
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -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]
|
@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])]{
|
[auto-wrap any/c #f])]{
|
||||||
|
|
||||||
The @scheme[line-spacing] argument sets the additional amount of space
|
The @scheme[line-spacing] argument sets the additional amount of space
|
||||||
|
|
Loading…
Reference in New Issue
Block a user