0 Replies Latest reply on Aug 4, 2009 2:52 PM by Carol L. Frampton

    [svn:fx-trunk] 9080: RET no longer has a default maxWidth of 160.

    Carol L. Frampton Level 2

      Revision: 9080

      Author:   cframpto@adobe.com

      Date:     2009-08-04 14:52:25 -0700 (Tue, 04 Aug 2009)

       

      Log Message:

      ***********

      RET no longer has a default maxWidth of 160.  That means that if a width is not specified then "toFit" text without explicit newlines will wrap at the default maxWidth of 10000.

       

      Selection on focusIn is implemented as follows.

       

      selection  selection        focusIn       multiline      !multiline        

      before     set by           due to              

      focusIn     

       

      (-1, -1)   program          mouseDown     (m, m)         (m, m)

                                  tab           (0, 0)         select all

                                  program       (0, 0)         select all            

      (5, 5)     mouse/keyboard   mouseDown     (m, m)         (m, m)

                                  tab           no change      select all

                                  program       no change      select all

                 program          mouseDown     (m, m)         (m, m)

                                  tab           no change      select all

                                  program       no change      select all

      (5, 10)    mouse/keyboard   mouseDown     (m, m)         (m, m)

                                  tab           no change      select all

                                  program       no change      select all

                 program          mouseDown     (m, m)         (m, m)

                                  tab           no change      no change

                                  program       no change      no change

       

      QE notes: since the focusIn change didn't break any TextArea/TextInput tests that means we don't have any

      Doc notes:

      Bugs:

      Reviewer: Alex

      Tests run: mustella TextInput TextArea passed

      Is noteworthy for integration: yes. No longer a default width for wrapping toFit text.

       

      Modified Paths:

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

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as