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] [Comment Edited] (FLEX-33278) Ctrl+V doesn't work properly
Date Tue, 12 Nov 2013 03:35:18 GMT

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

Shigeru Nakagaki edited comment on FLEX-33278 at 11/12/13 3:34 AM:
-------------------------------------------------------------------

When I copy an Excel cell on Windows 7, the text has "CR+LF".
The RichEditableText#text.length 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 [RichEditableText#get text] is "1234567LFLF" which length
is 9 on Windows.

This bug is not fixed at 4.10.


was (Author: shigeru):
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.

This bug is not fixed at 4.10.

> 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)

Mime
View raw message