flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shigeru Nakagaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33278) Ctrl+V doesn't work properly
Date Tue, 12 Nov 2013 02:36:17 GMT

    [ 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.

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

View raw message