[ 
https://issues.apache.org/jira/browse/FLEX-33278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819751#comment-13819751
 ] 

Shigeru Nakagaki commented on FLEX-33278:
-----------------------------------------

When I copy an Excel cell on Windows 7, the text has "CR+LF".
The delLen is longer than the text on Mac.
Then [textToInsert.substr(0, maxChars - length1);] is not correct on Windows.

You can not reproduce this case on Mac.

e.g.
An Excel cell is "1234567". The pasted text is "1234567CRLF" which length is 9 
on Windows.


> Ctrl+V doesn't work properly
> ----------------------------
>
>                 Key: FLEX-33278
>                 URL: https://issues.apache.org/jira/browse/FLEX-33278
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: RichEditableText
>    Affects Versions: Adobe Flex SDK Previous, Apache Flex 4.8 (parity release)
>         Environment: Windows 7
>            Reporter: Nazar Yavny
>             Fix For: Apache Flex 4.10.0
>
>
> The issue is present when user tries to paste text that starts with new line.
> When maxChars variable is specified and user tries to paste with Ctrl+V text 
> bigger than maxChars - component will cut of extra chars, but when user 
> presses Ctrl+V one more time - text will be pasted again. So, in this 
> situation length of component's inner text will be greater than specified 
> maxChars variable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to