[FIX][BUG] FileContentsBrowser/PseudoClass bug pretty printing ( a fix )

ned at squeakland.org ned at squeakland.org
Tue Mar 9 19:27:22 CET 2004


As reported by David Shaffer, 

If color pretty printing are enabled, if a method being viewed in the 
FileContentsBrowser includes an i-var reference which the PseudoClass 
can't find in it's scope table, you get the attached stack trace.  I'm 
not exactly sure how PseudoClass is supposed to work so I don't know if 
this is considered a bug (*) in that class but I think that the browser 
should non-pretty print the text if parsing fails.

This CS adds instVarNames to PseudoClass to avoid this bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PseudoClassPrettyPrintFix-nk.cs.gz
Type: application/octet-stream
Size: 511 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-harvest/attachments/20040309/5cd0a699/PseudoClassPrettyPrintFix-nk.cs.obj


More information about the Squeak-harvest mailing list