On 9/24/13 8:39 AM, "Mihai Chira" <[email protected]> wrote:
>Hi, > > >I found a (really complicated) way to reproduce a bug in Label.as (the one >that caused FLEX-33747 ><https://issues.apache.org/jira/browse/FLEX-33747>), >and as I'm trying to discover its cause I find myself stuck seeing >different behaviours of TextBlock.recreateTextLine(). When it's buggy it >returns a TextLine (and then 9 more after that, in the same loop), while >in >the bug-free scenario it returns null. > >(How) Can I access the source code of that function? How about the rest of >TLF? It will help me produce a bug report, as I need to find a way to >isolate those conditions. It would be great to have it in for the 4.11 >release. TLF is in Apache Flex Git in the flex-tlf repo. TextBlock and other flash.text.engine classes are part of the Adobe runtimes. They are written in C++ and the source is not available. In my limited experience with TLF, TextBlock.recreateTextLine gets involved when the compose width and/or TextElement changes. So it is usually other code that is causing TextBlock to do different things. -Alex
