[Bug] [Color] printHtmlString

Mathieu SUEN mathk.sue at gmail.com
Wed Jun 14 10:20:47 UTC 2006


2006/6/14, Peace Jerome <peace_the_dreamer at yahoo.com>:
>  Hi Mathieu,
>
> Good bug find.
>
> A good help would be to write it up as a mantis
> report.
>
> http://bugs.impara.de/login_page.php
>
> If you don't have an account you can get one.
>
> -----
>
> When you write up the report:
>
>
> Describe how to get the bug to come up.
>
> As to your fix.
>
> It needs to pass a test such as:
>
> crayons := {
> Color red .
> Color green .
> Color blue .
> Color yellow .
> Color cyan .
> Color magenta .
> Color white .
> Color black .
> Color gray .
> Color orange .
>
> } .
>
> crayons collect: [ :c | c printHtmlString ]
>
> When I substituted your suggestion for
> Color>>printHtmlString I got:
>
> #('FF00' '0FF0' '00FF' 'FFFF0' '0FFFF' 'FF0FF'
> 'FFFFFF' '000' '7F7F7F' 'FF990')
>
> which I don't think will work for html.
>
> -----


In fact I was trying to to copy in html under  3.9 and I got an error.
After the change of color the copy works fine. (ie with the #...)



>  Also for fileouts you can select to fileout just the
> one method. (You have to call up the menu over the
> selected method instead of the class) I did not try
> filing in the full class in my above test.


Ok I will do so.

> Again you found a real bug. I hope you will follow it
> thru.


Yeap
 Thanks for the information :-)

Math



More information about the Squeak-dev mailing list