RichTextEdit bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RichTextEdit bug

Ian Bartholomew-21
Small error in RichTextEdit.  Evaluating

RichText rtfConverter color: Color red

results in a walkback.  RichTextEdit>>color: sends #asParameter to the
color, turning it into an Integer, before passing it on to
CHARFORMAT>>color:.  This then sends #asColorRef to the Integer causing the
walkback.

Losing the #asParameter in RichTextEdit>>color: cures the problem.

--
Ian

Use the Reply-To address to contact me (limited validity).
Mail sent to the From address is ignored.


Reply | Threaded
Open this post in threaded view
|

Re: RichTextEdit bug

Blair McGlashan-4
"Ian Bartholomew" <[hidden email]> wrote in message
news:[hidden email]...

> Small error in RichTextEdit.  Evaluating
>
> RichText rtfConverter color: Color red
>
> results in a walkback.  RichTextEdit>>color: sends #asParameter to the
> color, turning it into an Integer, before passing it on to
> CHARFORMAT>>color:.  This then sends #asColorRef to the Integer causing
> the walkback.
>
> Losing the #asParameter in RichTextEdit>>color: cures the problem.
>

Thanks Ian. That is the correct fix.

Recorded and fixed for the 6.03 release.

Regards

Blair