Fixed more scribl typos.
svn: r10275
This commit is contained in:
parent
854211592a
commit
e8201a7d35
|
@ -77,7 +77,7 @@ See also @method[editor-snip% set-align-top-line].
|
|||
|
||||
|
||||
@defmethod[(get-editor)
|
||||
(or/c (or/c @scheme[text%] (is-a?/c pasteboard%)) false/c)]{
|
||||
(or/c (or/c (is-a?/c text%) (is-a?/c pasteboard%)) false/c)]{
|
||||
|
||||
Returns the editor contained by the snip, or @scheme[#f] is there is
|
||||
no editor.
|
||||
|
@ -226,7 +226,7 @@ See also @method[editor-snip% get-align-top-line].
|
|||
|
||||
}
|
||||
|
||||
@defmethod[(set-editor [editor (or/c (or/c @scheme[text%] (is-a?/c pasteboard%)) false/c)])
|
||||
@defmethod[(set-editor [editor (or/c (or/c (is-a?/c text%) (is-a?/c pasteboard%)) false/c)])
|
||||
void?]{
|
||||
|
||||
Sets the editor contained by the snip, releasing the old editor in the
|
||||
|
|
|
@ -35,7 +35,7 @@ Gets a drawing context suitable for determining display size
|
|||
}
|
||||
|
||||
@defmethod[(get-editor)
|
||||
(or/c @scheme[text%] (is-a?/c pasteboard%))]{
|
||||
(or/c (is-a?/c text%) (is-a?/c pasteboard%))]{
|
||||
|
||||
Returns the editor that this administrator reports to (directly or
|
||||
indirectly).
|
||||
|
|
|
@ -327,12 +327,12 @@ See also @method[text% hide-caret].
|
|||
([(change-style [delta (or/c (is-a?/c style-delta%) false/c)]
|
||||
[start (or/c nonnegative-exact-integer? (one/of 'start)) 'start]
|
||||
[end (or/c nonnegative-exact-integer? (one/of 'end)) 'end]
|
||||
[counts-as-mod? any/c @scheme[#t]])
|
||||
[counts-as-mod? any/c #t])
|
||||
void?]
|
||||
[(change-style [style (or/c (is-a?/c style<%>) false/c)]
|
||||
[start (or/c nonnegative-exact-integer? (one/of 'start)) 'start]
|
||||
[end (or/c nonnegative-exact-integer? (one/of 'end)) 'end]
|
||||
[counts-as-mod? any/c @scheme[#t]])
|
||||
[counts-as-mod? any/c #t])
|
||||
void?])]{
|
||||
|
||||
Changes the style for a region in the editor by applying a style delta
|
||||
|
|
Loading…
Reference in New Issue
Block a user