[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Assigning to htmlText of TextField does not work
From: |
Ivor Blockley |
Subject: |
Re: [Gnash-dev] Assigning to htmlText of TextField does not work |
Date: |
Thu, 6 Sep 2007 02:58:23 +1000 (EST) |
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] Assigning to htmlText of TextField does not work, Asger Ottar Alstrup, 2007/09/03
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, Asger Ottar Alstrup, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, Asger Ottar Alstrup, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, Ivor Blockley, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/04
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work,
Ivor Blockley <=
- Re: [Gnash-dev] Assigning to htmlText of TextField does not work, strk, 2007/09/05