aharui commented on issue #825:
URL: https://github.com/apache/royale-asjs/issues/825#issuecomment-629754336


   s:TextArea is one of the most complex and heavy components in both Flex and 
Royale.  It's main goal was browser independent text rendering and the 
developers created a custom data format (TextFlow) to support it.  A secondary 
goal was right-to-left text support.
   
   If you don't need that, then you are probably better off with a much simpler 
emulation.  It should be possible to subclass mx.controls.TextArea and get it 
to work as spark.components.TextArea.  One of the reasons I haven't coded that 
up is because I haven't figured out how to make the simpler emulation available 
alongside the heavy (but broken) version and let the developer choose which 
version to use (assuming someone someday fixes the heavy version).
   
   I am not making the fixing of the heavy version a priority because it is 
going to be a lot of work and I don't think anybody really needs that 
functionality right now and we might run into performance and fidelity issues.  
My main goal is to get people up and running.  It is not a goal to emulate 
every feature of Flex.  Swapping mx:TextArea for s:TextArea is way easier and 
will perform better and then I can go work on other things that users are 
asking for.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to