[racket-dev] syntax browser only allows clicks on subterms with same Source?

From: John Clements (clements at brinckerhoff.org)
Date: Sat Jul 9 18:10:35 EDT 2011

When I use 'print' on a syntax object, I get a nice turn-down arrow that allows me to browse the subterms, and see the properties associated with them.  However, I notice that certain subterms are "opaque", in the sense that I can't click inside them; any click anywhere within them highlights the whole thing.  

However, if I use syntax-case to destructure the thing, and get into the opaque object, then I'm able to click on those elements and see their properties just fine.  It looks to me like I'm only allowed to select elements that have the same source as the top-level expression, but that's just a guess. 

Is this the desired behavior? A bug?

Any help appreciated,

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110709/b6b755c4/attachment.p7s>

Posted on the dev mailing list.