scribble fixes -- nested @scheme and a few other similar problems
svn: r10744 original commit: 4cd2614c2122dd13e75d2dccc60e11109e26e152
This commit is contained in:
parent
12e5ae0cca
commit
d5cb9326f9
|
@ -541,7 +541,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Calls @scheme[(make-object @method[frame:editor<%> get-editor%])].
|
Calls @scheme[(make-object #, @method[frame:editor<%> get-editor%])].
|
||||||
|
|
||||||
}
|
}
|
||||||
@defmethod*[(((revert) void))]{
|
@defmethod*[(((revert) void))]{
|
||||||
|
@ -794,7 +794,7 @@
|
||||||
}
|
}
|
||||||
@defmethod*[#:mode override (((get-editor<%>) interface))]{
|
@defmethod*[#:mode override (((get-editor<%>) interface))]{
|
||||||
|
|
||||||
Returns @scheme[(class->interface @scheme[text%])].
|
Returns @scheme[(class->interface text%)].
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@definterface[frame:pasteboard<%> (frame:editor<%>)]{
|
@definterface[frame:pasteboard<%> (frame:editor<%>)]{
|
||||||
|
@ -812,7 +812,7 @@
|
||||||
}
|
}
|
||||||
@defmethod*[#:mode override (((get-editor<%>) interface))]{
|
@defmethod*[#:mode override (((get-editor<%>) interface))]{
|
||||||
|
|
||||||
Returns @scheme[(class->interface @scheme[pasteboard%])].
|
Returns @scheme[(class->interface pasteboard%)].
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@definterface[frame:delegate<%> (frame:status-line<%> frame:text<%>)]{
|
@definterface[frame:delegate<%> (frame:status-line<%> frame:text<%>)]{
|
||||||
|
|
|
@ -551,7 +551,7 @@ The @scheme[x] and @scheme[y] arguments are the snip's
|
||||||
@scheme[editorx] and @scheme[editory] arguments are the snip's
|
@scheme[editorx] and @scheme[editory] arguments are the snip's
|
||||||
@techlink{location} in editor coordinates. To get @scheme[event]'s x
|
@techlink{location} in editor coordinates. To get @scheme[event]'s x
|
||||||
@techlink{location} in snip coordinates, subtract @scheme[x] from
|
@techlink{location} in snip coordinates, subtract @scheme[x] from
|
||||||
@scheme[(send @scheme[event] get-x)].
|
@scheme[(send event get-x)].
|
||||||
|
|
||||||
See also @indexed-scheme['handles-events] in @method[snip% get-flags].
|
See also @indexed-scheme['handles-events] in @method[snip% get-flags].
|
||||||
|
|
||||||
|
@ -581,7 +581,7 @@ The @scheme[x] and @scheme[y] arguments are the snip's
|
||||||
@scheme[editorx] and @scheme[editory] arguments are the snip's
|
@scheme[editorx] and @scheme[editory] arguments are the snip's
|
||||||
@techlink{location} in editor coordinates. To get @scheme[event]'s x
|
@techlink{location} in editor coordinates. To get @scheme[event]'s x
|
||||||
@techlink{location} in snip coordinates, subtract @scheme[x] from
|
@techlink{location} in snip coordinates, subtract @scheme[x] from
|
||||||
@scheme[(send @scheme[event] get-x)].
|
@scheme[(send event get-x)].
|
||||||
|
|
||||||
See also @indexed-scheme['handles-events] in @method[snip% get-flags].
|
See also @indexed-scheme['handles-events] in @method[snip% get-flags].
|
||||||
|
|
||||||
|
|
|
@ -103,13 +103,13 @@ For a text field, the most useful methods of a @scheme[text%] object
|
||||||
are the following:
|
are the following:
|
||||||
@itemize{
|
@itemize{
|
||||||
|
|
||||||
@item{@scheme[(send a-text @method[text% get-text])] returns
|
@item{@scheme[(send a-text #, @method[text% get-text])] returns
|
||||||
the current text of the editor.}
|
the current text of the editor.}
|
||||||
|
|
||||||
@item{@scheme[(send a-text @method[text% erase])] deletes all text from
|
@item{@scheme[(send a-text #, @method[text% erase])] deletes all text from
|
||||||
the editor.}
|
the editor.}
|
||||||
|
|
||||||
@item{@scheme[(send a-text @method[text% insert] _str)] inserts
|
@item{@scheme[(send a-text #, @method[text% insert] _str)] inserts
|
||||||
@scheme[_str] into the editor at the current caret position.}
|
@scheme[_str] into the editor at the current caret position.}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user