Im checking this in now as it is low risk (does not modify any existing API) and want to allow Fred to try it tonite.
On Thu, Apr 7, 2011 at 1:26 PM, Henry Minsky <[email protected]> wrote: > Change hqm-20110407-YPy by [email protected] on 2011-04-07 13:19:26 EDT > in /Users/hqm/openlaszlo/trunk2 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: add support for setTextFormat and getTextFormat to swf10 kernel > > New Features: > > Bugs Fixed: LPP-9864 > > Technical Reviewer: ptw > QA Reviewer: (pending) > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > > added code to LzTLFTextField to emulate the old flash > TextField.setTextFormat behavior > > Details: > > LzTLFTextField: added setTextFormat and getTextFormat methods. they > translate between > old TextFormat struct and the new Adobe TLF TextLayoutFormat class. I > managed > to discover the right methods on the EditManager 'interaction manager' > which > support applying format to a range of characters. > > > > Tests: > > test/tlf/setformat demonstrates applying some format to the selection range > of a > bidi text view. > > > Files: > A test/tlf/setformat.lzx > M WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as > M WEB-INF/lps/lfc/kernel/swf9/LzTLFTextField.as > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110407-YPy.tar > -- Henry Minsky Software Architect [email protected]
