0 Replies Latest reply on Sep 1, 2009 6:02 PM by GordonSmith

    [svn:fx-trunk] 9895: Rewrote TLFTextField.

    GordonSmith Level 4

      Revision: 9895

      Author:   gosmith@adobe.com

      Date:     2009-09-01 18:02:10 -0700 (Tue, 01 Sep 2009)


      Log Message:


      Rewrote TLFTextField.


      It previously used a TLF StringTextLineFactory to implement the 'text' property; it now uses FTE directly, similar to SimpleText.


      In addition, it now uses TLF's HTML importer and exporter to implement the 'htmlText' property. (Until TLF changes its HTML support to be more like the quirky HTML in TextField, getting 'htmlText' won't necessarily give you what you expect.) It renders the TextFlow produced from the htmlText by using TLF's TextContainerManager, rather than a TextFlowTextLineFactory, in order to support clickable hyperlinks and URL-loaded images.


      TLFTextField does not, and will not, support scrolling, selection, editing, or setting a text format on a range with setTextFormat(). It is intended for use only in those Halo components that don't require this functionality.


      A number of methods not called by the Halo components for which TLFTextField is intended have also been left unimplemented.


      Since we are planning to move TLFTextField from TLF to Flex, I haven't bothered to put this code into the TLF depot. If we integrate another TLF before TLFTextField gets removed from TLF, please don't clobber this version with the older version.


      QE notes: None

      Doc notes: None

      Bugs: None

      Reviewer: Ryan

      Tests run: ant checkintests

      Is noteworthy for integration: No


      Modified Paths:



          flex/sdk/trunk/frameworks/projects/textLayout/textLayout_textField/src/flashx/textLayout/ controls/TLFTextField.as