[racket] formatting inside comment boxes

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Nov 28 19:24:03 EST 2010

Use the #; style instead: 

#;
(define (init)
  (begin
    (set! all-balloons 
          (build-list 10 (lambda (n)                        
                           (make-balloon (random SIZE)
                                         (random SIZE)
                                         0 
                                         0 
                                         "yellow"))))
    (set! selected-balloon false)))




On Nov 28, 2010, at 5:30 PM, Marc L. Smith wrote:

> Is there a way to turn off the formatting inside comment boxes? 
> 
> In particular, after inserting a comment box, if a line of text within it contains a semicolon, the rest of that line is color syntax-highlighted as would be a comment line; and the line after an unclosed open parenthesis auto-indents to the position of the open parenthesis on the previous line. 
> 
> This behavior is desirable for Racket code inside a comment box, but not in general for comments. Sorry if I missed where this auto-formatting could be switched off.
> 
> Thanks,
> Marc
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.