Hi strk, 

--- strk wrote:
> HTML strip-off code is already in format_text, which is called
> by set_text already, so the whole code in "htmlText" handling
> can be reduced to a single call to set_text().

I've now implemented this. I also made "html" a boolean property of
edit_text_character with a getter/setter (without this the haXe "helloworld"
testcase Asger identified won't work).

Note that the FIXMEs in edit_text_character.cpp still stand (see "Turn all
standard members into getter/setter properties").

> Also, I'd like to know if that assignment is supposed
> to turn the .html property on, and if

Luckily we have a testcase for this in TextField.as and it turns out that
the assignment doesn't turn it on.

>       o = {};
>       o.toString = function() { return "<html>string</html>" };
>       htmlText = o;
> should invoke the toString (it's done for handling the 'text' property).

I'm not sure about this one, sorry.

Ivor


      
____________________________________________________________________________________
 Feel safe with award winning spam protection on Yahoo!7 Mail.  
http://mail.yahoo.com.au 



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to