0 Replies Latest reply on Oct 2, 2009 9:45 AM by Carol L. Frampton

    [svn:fx-trunk] 10814: Added selectionActivePosition and selectionAnchorPosition to ITextInput interface .

    Carol L. Frampton Level 2

      Revision: 10814

      Author:   cframpto@adobe.com

      Date:     2009-10-02 08:45:31 -0700 (Fri, 02 Oct 2009)

       

      Log Message:

      ***********

      Added selectionActivePosition and selectionAnchorPosition to ITextInput interface.  Renamed params of selectRange to anchorPosition and activePosition from anchorIndex and activeIndex to be consistent.

       

      Make sure the SwatchPanel gets the textInputClass style from either itself or passed down from its parent ColorPicker.as

       

      When changing the text in the SwatchPanel, need to save the selection and restore it after setting the text since TLF does not preserve the selection.

       

      In TLFText.css added missing textFieldClass style to ColorPicker and ComboBox.  Also added style for s|TLFTextInput skinClass to ensure the spark TextInput skin is pulled in if this theme is used (spark default.css may not be in the path).

       

      QE notes: need to compile TLFText with -theme+="TLFText.css" now rather than theme="TLFText.css"

      Doc notes:

      Bugs: SDK-22935, SDK-23548

      Reviewer: Gordon

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as

          flex/sdk/trunk/frameworks/projects/spark/TLFText.css