0 Replies Latest reply on Nov 10, 2008 5:26 PM by (GordonSmith)

    [svn] 4065: TextBox now supports lineBreak and breakOpportunity styles, like TextGraphic.

    Level 1
      Revision: 4065
      Author: gosmith@adobe.com
      Date: 2008-11-10 17:26:44 -0800 (Mon, 10 Nov 2008)

      Log Message:
      -----------
      TextBox now supports lineBreak and breakOpportunity styles, like TextGraphic. It also now uses scrollRect to clip overset lines, like TextGraphic.

      Both TextBox and TextGraphic avoid setting scrollRect to null if it is already null, since Player 10.0 will allocate memory even in that case.

      The API for TextBlockComposer is now back in sync with that of TextFlowComposer.

      QE Notes: New line-breaking and clipping functionality to test in TextBox.
      Doc Notes: None
      Bugs: None
      Reviewer: Glenn

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer .as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedCharacterFormatTe xtStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedContainerFormatTe xtStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicCharacterFormatTextS tyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicContainerFormatTextS tyles.as
      flex/sdk/trunk/frameworks/projects/framework/defaults.css