From b7cb35fd66a46fb3709353d61a15eba5fedab6f7 Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Thu, 11 Jan 2018 14:53:06 -0500 Subject: [PATCH] Update technical bugs in the surrogate docs. It claimed two extra methods were generated when no (#:use-wrapper-proc) was provided: (set/get)-surrogate-wrapper-proc. Removes that claim from the docs. Also fix a few minor stray punctuation marks. --- pkgs/racket-doc/scribblings/reference/surrogate.scrbl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/surrogate.scrbl b/pkgs/racket-doc/scribblings/reference/surrogate.scrbl index 8547aaa1a1..ff53b79148 100644 --- a/pkgs/racket-doc/scribblings/reference/surrogate.scrbl +++ b/pkgs/racket-doc/scribblings/reference/surrogate.scrbl @@ -31,10 +31,9 @@ procedure that accepts and returns a class), a host interface, a surrogate class, and a surrogate interface. If @racket[#:use-wrapper-proc] does not appear, -the host mixin adds one field @racket[surrogate]. -to its argument. It also adds getter and setter methods, @racket[get-surrogate], -@racket[set-surrogate], @racket[get-surrogate-wrapper-proc], and -@racket[set-surrogate-wrapper-proc] for changing the fields. The +the host mixin adds one field @racket[surrogate] +to its argument. It also adds getter and setter methods + @racket[get-surrogate] and @racket[set-surrogate]. The @racket[set-surrogate] method accepts instances of the class returned by the @racket[surrogate] form or @racket[#f], and it updates the field with its argument; then, @racket[set-surrogate] calls the @racket[on-disable-surrogate] on the