0 Replies Latest reply on Nov 18, 2009 7:01 AM by Carol L. Frampton

    [svn:fx-trunk] 11934: Remove dependencies RichEditableText api calls had on using an interactionManager .

    Carol L. Frampton Level 2

      Revision: 11934

      Revision: 11934

      Author:   cframpto@adobe.com

      Date:     2009-11-18 07:01:08 -0800 (Wed, 18 Nov 2009)

      Log Message:

      ***********

      Remove dependencies RichEditableText api calls had on using an interactionManager.  API calls can be done regardless of the values of editable and selectable which just apply to interactive editing.

       

      The api calls are: insertText, appendText, selectRange, selectAll, setFormatOfRange, getFormatOfRange.  The first 4 methods can change the selection and when that occurs, a selectionChange event will be dispatched.

       

      The editingMode should not be changed any event handler while in the middle of a text operation.  This includes the selectionChange event.

       

      I may make a few more tweaks to this code as I continue to test and find edge conditions.

       

      QE notes:

      Doc notes: editingMode should not be changed by any event handler while in the middle of a text operation

      Bugs: SDK-23638

      Reviewer: Gordon

      Tests run: checkintests, TextArea, TextInput, NumericStepper, ComboBox

      Is noteworthy for integration: yes

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

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

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTex tBase.as