0 Replies Latest reply on Oct 15, 2008 3:26 PM by (GordonSmith)

    [svn] 3670: The interaction of the 'text' and 'content' properties is now working as intended.

      Revision: 3670
      Author: gosmith@adobe.com
      Date: 2008-10-15 16:26:37 -0700 (Wed, 15 Oct 2008)

      Log Message:
      -----------
      The interaction of the 'text' and 'content' properties is now working as intended. If you set one and wait for the updateComplete event, you can now get the other. (In the meantime, the other is null.) If you set both at the same time, 'content' wins.

      Also, setting the 'text' or the 'content' of a TextView now causes the selection range to be reset to (-1, -1), which means "no selection".

      Reviewer: Deepa
      Bugs: SDK-16035, SDK-16359, SDK-17307
      QA: Please test the interaction of the 'text' and 'content' properties in TextGraphic, TextView, and TextArea.
      Doc: No

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16035
      http://bugs.adobe.com/jira/browse/SDK-16359
      http://bugs.adobe.com/jira/browse/SDK-17307

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as