Approved!
On Fri, Jul 22, 2011 at 12:48 PM, Donald Anderson wrote:
Change dda-20110722-aAe by [email protected]
<javascript:parent.wgMail.openComposeWindow('[email protected]')> on
2011-07-22 11:07:24 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk-d
for http://svn.openlaszlo.org/openlaszlo/trunk
<http://svn.openlaszlo.org/openlaszlo/trunk>
Summary: Fixed various cut/paste problems for multiline strings
New Features:
Bugs Fixed: LPP-10003 (OL 5.0.x - OSX - For any edit related component
such as <imputtext/> or <edittext>, the mulitiline strings will be
changed to one line after two "cut" operations.)
Technical Reviewer: promanik (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
SWF10 only:
Intercept the text insert that happens as part of the paste
operation.
If there's a carriage return (that's not part of CR/LF), then the
kernel's
text sprite handles the text insert.
Details:
Text inserted in a inputtext/edittext/scrolledittext apparently has
LF
converteted to CR. Then CR's that appear in a copy are apparently
removed
(not sure where that happens). To retain the status quo and get
acceptable
behavior, we detect any CR's and convert them to LF -- the
exception is
Windows CR/LF, which we convert to LF.
Tests:
Using test case from LPP-10003, three lines:
line1
line2
line3
and also including blank lines:
line1
line2
line4
With these tests, tried SWF10, DHTML on OSX/FF && Win/IE8, using
scenario
in LPP-10003 (select all, cut, paste, select all, cut, paste) and
various
other scenarios.
smokecheck (SWF10, DHTML)
runlzunit
Files:
M WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/dda-20110722-aAe.tar
<http://svn.openlaszlo.org/openlaszlo/patches/dda-20110722-aAe.tar>
-- <http://svn.openlaszlo.org/openlaszlo/patches/dda-20110722-aAe.tar>
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-306-2057
email: [email protected]
<javascript:parent.wgMail.openComposeWindow('[email protected]')>
www: http://www.ddanderson.com <http://www.ddanderson.com/>
<http://www.ddanderson.com/>
blog: http://libdb.wordpress.com <http://libdb.wordpress.com>