0 Replies Latest reply on Dec 1, 2009 6:50 AM by Carol L. Frampton

    [svn:fx-trunk] 12322: Add support for custom context menus to TextArea, TextInput and RichEditableText.

    Carol L. Frampton Level 2

      Revision: 12322

      Revision: 12322

      Author:   cframpto@adobe.com

      Date:     2009-12-01 06:50:07 -0800 (Tue, 01 Dec 2009)

      Log Message:

      ***********

      Add support for custom context menus to TextArea, TextInput and RichEditableText.  TLF has a context menu but we now allow it to be modified, or a totally different one (or none) to be used instead.

       

      When pasting text into a field with multiline equal to false, strip the newlines from the pasted text.

       

      For composite operations, the RET changing event is now dispatched only at the beginning of the composite operation, rather than at the beginning of each individual operation in the composite operation.  It is not possible to a composite operation as it is for individual operations.

       

      The RET change event is now dispatched at flow operation complete rather than flow operation end.  At this point the text flow is no longer in an intermediary state and it can be modified if desired in the user's event handler.

       

      QE notes:

      Doc notes:

      Bugs: SDK-23950, SDK-23926, SDK-24263

      Reviewer: Gordon

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

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

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

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

       

      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