correct augment/override confusion in docs

This commit is contained in:
Robby Findler 2013-05-22 21:30:35 -05:00
parent 6596df6e97
commit c98f757d15

View File

@ -197,12 +197,11 @@ editors that have program text where errors can occur.
@defmethod[#:mode override @defmethod[#:mode augment
(after-delete [start number] (after-delete [start number] [len number])
[len number])
void?]{ void?]{
Calls the super method. Calls the inner method.
Resets an error highlighting. Resets an error highlighting.
@ -210,12 +209,12 @@ Resets an error highlighting.
} }
@defmethod[#:mode override @defmethod[#:mode augment
(after-insert [start number] (after-insert [start number]
[len number]) [len number])
void?]{ void?]{
Calls the super method. Calls the inner method.
Resets an error highlighting. Resets an error highlighting.
@ -493,16 +492,14 @@ stores the canvas, until
} }
@defmethod[#:mode override @defmethod[#:mode augment (on-close) void?]{
(on-close)
void?]{
Sends the result of Sends the result of
@method[drracket:unit:frame<%> get-interactions-text] the @method[drracket:unit:frame<%> get-interactions-text] the
@method[drracket:rep:text% shutdown] and @method[drracket:rep:text% shutdown] and
@method[drracket:rep:text% on-close] methods. @method[drracket:rep:text% on-close] methods.
Calls the super method. Always calls the inner method.
} }