0 Replies Latest reply on Aug 7, 2009 3:16 PM by Carol L. Frampton

    [svn:fx-trunk] 9181: Per Hans, if TextArea and lineBreak=?\226?\128? \157toFit?\226?\128?\157, set the scroller?\226?\128? \153s horinzontalScrollPolicy to ?\226?\128?\156off?\226?\128?\157.

    Carol L. Frampton Level 2

      Revision: 9181

      Author:   cframpto@adobe.com

      Date:     2009-08-07 15:15:38 -0700 (Fri, 07 Aug 2009)

       

      Log Message:

      ***********

      Per Hans, if TextArea and lineBreak=?\226?\128?\157toFit?\226?\128?\157, set the scroller?\226?\128?\153s horinzontalScrollPolicy to ?\226?\128?\156off?\226?\128?\157.  Added a ?\226?\128?\156styleChanged?\226?\128?\157 event to RET so that TextArea.  If lineBreak="toFit" the scroller's horizontalScrollPolicy style is set to off.  If lineBreak="explicit" the scroller's horizontalScrollPolicy style is set auto if it off.  RET's horizontalScrollPolicy is auto in both of these cases.

       

      Modified getEditManager() and endEditManager() so that all the edits for each API call are grouped together as a composite operation on the undo queue.  Ctrl-z should undo the entire API call.

       

      QE notes:

      Doc notes:

      Bugs: SDK-22469 and SDK-22529

      Reviewer: Gordon

      Tests run:

      Is noteworthy for integration: possibly - the RET api calls insertText(), appendText() and setFormatOfRange() add a single composite operation do TLF's undo queue

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as

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