[ENH]browserNagIfNoClassComment (v4)

Markus Gaelli gaelli at emergent.de
Tue Oct 28 20:05:14 UTC 2003


>
>
> The snag with both is that the comments are in read only
> mode but in 'comment mode'.
> I'm not sure how to fix that.
>

I did a little hack, which should do the trick...
though not as I naively thought by enhancing
Class with something like >> subclass: '' instVarNames: '' (...) 
comment: ''

The reason is, that the Class >> classComment: '' expects a text and not
a string. (' in strings are ugly to write and read...)

So I hacked
Browser >> defineClass: defString notifying: aController

which is already to long....:-(

I still reformated it like it could be a method sent to class,
maybe this is missleading?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: NagIfNoClassComment.1.cs.gz
Type: application/x-gzip
Size: 2204 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031028/d6f7209e/NagIfNoClassComment.1.cs.bin
-------------- next part --------------


Attention: I did not look into timestamps issues of the comment, so 
this might be wrong.
Also the comment does not update while on the class side...
Also no tests.

So there is room for improvement... ;-)

Markus


More information about the Squeak-dev mailing list