Fix documentation to match editor<%>, text%, and pasteboard% changes.

This commit is contained in:
Asumu Takikawa 2010-12-07 21:59:18 -05:00 committed by Stevie Strickland
parent 24050a5bc6
commit ed114c0750
3 changed files with 6 additions and 27 deletions

View File

@ -457,11 +457,6 @@ Returns the name of a style to be used for newly inserted text,
}
@defmethod[(do-copy) void?]{
See @xmethod[text% do-copy] or @xmethod[pasteboard% do-copy].}
@defmethod[(do-edit-operation [op (or/c 'undo 'redo 'clear 'cut 'copy 'paste
'kill 'select-all 'insert-text-box
'insert-pasteboard-box 'insert-image)]
@ -499,16 +494,6 @@ See @|timediscuss| for a discussion of the @scheme[time] argument. If
}
@defmethod[(do-paste) void?]{
See @xmethod[text% do-paste] or @xmethod[pasteboard% do-paste].}
@defmethod[(do-paste-x-selection) void?]{
See @xmethod[text% do-paste-x-selection] or @xmethod[pasteboard% do-paste-x-selection].}
@defmethod[(editor-location-to-dc-location [x real?]
[y real?])
(values real? real?)]{

View File

@ -499,8 +499,7 @@ Deletes @scheme[snip] when provided, or deletes the currently selected
}
@defmethod[#:mode override
(do-copy [time exact-integer?]
@defmethod[(do-copy [time exact-integer?]
[extend? any/c])
void?]{
@ -524,8 +523,7 @@ Copies the current selection, extending the current clipboard contexts
}}
@defmethod[#:mode override
(do-paste [time exact-integer?])
@defmethod[(do-paste [time exact-integer?])
void?]{
@methspec{
@ -546,8 +544,7 @@ Pastes.
}}
@defmethod[#:mode override
(do-paste-x-selection [time exact-integer?])
@defmethod[(do-paste-x-selection [time exact-integer?])
void?]{
@methspec{

View File

@ -422,8 +422,7 @@ Deletes the specified range or the currently selected text (when no
}
@defmethod[#:mode override
(do-copy [start exact-nonnegative-integer?]
@defmethod[(do-copy [start exact-nonnegative-integer?]
[end exact-nonnegative-integer?]
[time exact-integer?]
[extend? any/c])
@ -447,8 +446,7 @@ Copy the data from @scheme[start] to @scheme[end], extending the current
}}
@defmethod[#:mode override
(do-paste [start exact-nonnegative-integer?]
@defmethod[(do-paste [start exact-nonnegative-integer?]
[time exact-integer?])
void?]{
@methspec{
@ -469,8 +467,7 @@ Pastes into the @techlink{position} @scheme[start].
}}
@defmethod[#:mode override
(do-paste-x-selection [start exact-nonnegative-integer?]
@defmethod[(do-paste-x-selection [start exact-nonnegative-integer?]
[time exact-integer?])
void?]{
@methspec{