[ https://issues.apache.org/jira/browse/FLEX-33544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656687#comment-13656687 ]
jingyuan commented on FLEX-33544: --------------------------------- Add our dev's comments that: "To fix this issue, we need to change the handlePasteOperation() function in RichEditableText.as of Flex SDK. This function checks only LF("\n") as a newline character before inserting a copied text. It also needs to check CR("\r") code for Win and Mac." > [Not injection][TLF only]The text display as multiline when paste multiline > text into single-line TLFTextField, > --------------------------------------------------------------------------------------------------------------- > > Key: FLEX-33544 > URL: https://issues.apache.org/jira/browse/FLEX-33544 > Project: Apache Flex > Issue Type: Bug > Components: Runtime Shared Libraries > Affects Versions: Adobe Flex SDK 3.1 (Release) > Reporter: jingyuan > > Problem: > The text display as multiline when paste multiline text into single-line > TLFTextField. > Notes: > 1. The issue occurs on IE, Firefox and Safari +Win&Mac > 2. The issue doesn't reproduce on TextField single-line > 3. The issue occurs on both vertical and horizontal of TLF class > Method: > 1. Install the latest FP build 11.7.700.193 on Win 7 > 2. Launch the "TLF single line.swf" in the attachment (you can also create a > swf with flash CS and drag TLF control with property set to single line) > 3. Press "Ctrl+A" to select all the text in the "TextField Mutiline" area > then "Ctrl+C" > 4. Place cursor into the "TLF single line" area and "Ctrl + V" to paste the > text > 5. Check > Result: > The text displayed as mutiline > Expected: > The text should displayed as single line -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira