0 Replies Latest reply on Jul 10, 2009 3:43 PM by Carol L. Frampton

    [svn:fx-trunk] 8516: - Fix layout looping in SDK-22186.

    Carol L. Frampton Level 2

      Revision: 8516

      Author:   cframpto@adobe.com

      Date:     2009-07-10 15:42:47 -0700 (Fri, 10 Jul 2009)

       

      Log Message:

      ***********

      - Fix layout looping in SDK-22186.  Actually a TLF bug but easy to work around.  The compositionWidth/compositionHeight setters should check for NaN, since they are legal values, when decided if the value has changed.  Since they weren't they were damaging the text flow even though there were no changes.

      - If changing the selection temporarily, to use TLF API which works on the current selection, don't dispatch a selection change event.

      - More for the flicker bug SDK-21387.  Moved reflow code to updateDisplayList(), per Evtim's suggestion, so it now works for Halo containers as well.

       

      QA Notes:

      Doc Notes: SDK-22186.

      Reviewers: will be Gordon

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22186

          http://bugs.adobe.com/jira/browse/SDK-21387

          http://bugs.adobe.com/jira/browse/SDK-22186

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as