[Laszlo-dev] Debugger font color

Henry Minsky henry.minsky at gmail.com
Thu Aug 21 13:49:08 PDT 2008


There was some issue I recall in how HTML text works; there are two
equivalent ways to set html style info, either using a TextFormat object, or
by manually outputting <font> tags in the html text content.
I remember there was something odd about how the html text field would try
to automatically close HTML tags for you. So if you had HTML text that you
set which was "<font color=#ff0000>foobar", then when you
ask it for the value of the TextField.htmlText, it would insert a </font>
closing tag automatically, but it seemed like sometimes there was some
ambiguity about how it did that.. can't remember anything more specific.

On Thu, Aug 21, 2008 at 11:07 AM, P T Withington <ptw at pobox.com> wrote:

> I'm seeing a funny effect in my revised debugger where text that I expect
> to be black is instead the color of the last thing I inspect. And previously
> emitted text of the wrong color changes as I inspect different things. It's
> almost as if the default color of the display pane keeps changing. This does
> not happen prior to my re-org, but I can't figure what broke.  Wondering if
> anyone has any thoughts?
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080821/71519b3c/attachment.html


More information about the Laszlo-dev mailing list