From c98f757d15fa04f08ae85a9b8a805c2b879765ef Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Wed, 22 May 2013 21:30:35 -0500 Subject: [PATCH] correct augment/override confusion in docs --- collects/scribblings/tools/unit.scrbl | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/collects/scribblings/tools/unit.scrbl b/collects/scribblings/tools/unit.scrbl index 8b627c78aa..ae41a737b0 100644 --- a/collects/scribblings/tools/unit.scrbl +++ b/collects/scribblings/tools/unit.scrbl @@ -197,12 +197,11 @@ editors that have program text where errors can occur. -@defmethod[#:mode override - (after-delete [start number] - [len number]) +@defmethod[#:mode augment + (after-delete [start number] [len number]) void?]{ -Calls the super method. +Calls the inner method. Resets an error highlighting. @@ -210,12 +209,12 @@ Resets an error highlighting. } -@defmethod[#:mode override +@defmethod[#:mode augment (after-insert [start number] [len number]) void?]{ -Calls the super method. +Calls the inner method. Resets an error highlighting. @@ -493,16 +492,14 @@ stores the canvas, until } -@defmethod[#:mode override - (on-close) - void?]{ +@defmethod[#:mode augment (on-close) void?]{ Sends the result of @method[drracket:unit:frame<%> get-interactions-text] the @method[drracket:rep:text% shutdown] and @method[drracket:rep:text% on-close] methods. -Calls the super method. +Always calls the inner method. }