[plt-scheme] Snips and styles in text%

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Jun 26 21:00:02 EDT 2003

At Thu, 26 Jun 2003 19:56:08 -0500, Robby Findler wrote:
>   (define p ... some number ...)
>   (define style-delta (make-object style-delta% 'change-weight 'bold))
>   (send editor insert snip p p)
>   (send editor change-style style-delta)

Oops, that last line should have been:

  (send editor change-style style-delta p (+ p 1))


Posted on the users mailing list.