[
https://issues.apache.org/jira/browse/FLEX-34034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096752#comment-14096752
]
Justin Mclean edited comment on FLEX-34034 at 8/14/14 8:48 AM:
---------------------------------------------------------------
Issue is reproducible in en_US locale so presumably effects all locales.
The code handlePasteOperation in RichEditableText returns if the text has no
newlines in it. The newlines are first removed from pastedText in
textContainerManager_flowOperationBeginHandler, so basically nothing is
done.This is incorrect but not sure what the fix is, either
textContainerManager_flowOperationBeginHandler shouldn't be removing the new
lines or handlePasteOperation shouldn't be returning early if newlines were
removed.
was (Author: jmclean):
Issue is reproducible in en_US locale so presumably effects all locales.
The code handlePasteOperation in RichEditableText returns if the text has no
newlines in it. The newlines are first removed from pastedText in
textContainerManager_flowOperationBeginHandler, so basically nothing is
done.This is incorrect but not sure what the fix is, either
textContainerManager_flowOperationBeginHandler shouldn't be removing the new
lines or handlePasteOperation should be returning early if newlines were
removed.
> You can paste a newline code to a single-line TextInput.
> --------------------------------------------------------
>
> Key: FLEX-34034
> URL: https://issues.apache.org/jira/browse/FLEX-34034
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TextInput
> Affects Versions: Apache Flex 4.11.0
> Environment: Windows 7 64bit Japanese
> Reporter: Shigeru Nakagaki
> Labels: easyfix, easytest
> Attachments: PasteLFToTextInputTest_src.zip,
> You_can_paste_a_newline_code_to_TextInput.png
>
>
> 1. copy only the new line from the text editor like K2Editor / sakura editor
> / Google Translation's textarea.
> (just only a new-line without any other string)
> 2. paste it to TextInput
> 3. press "Ctrl + A"
> you can see there is a newline.
--
This message was sent by Atlassian JIRA
(v6.2#6252)