Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D098B102F5 for ; Mon, 14 Oct 2013 07:56:48 +0000 (UTC) Received: (qmail 7273 invoked by uid 500); 14 Oct 2013 07:56:47 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 7232 invoked by uid 500); 14 Oct 2013 07:56:44 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 7212 invoked by uid 99); 14 Oct 2013 07:56:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Oct 2013 07:56:42 +0000 Date: Mon, 14 Oct 2013 07:56:41 +0000 (UTC) From: "Piotr Zarzycki (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33820) Cutted text after pasting it from MS Excel in spark TextInput MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793981#comment-13793981 ] Piotr Zarzycki commented on FLEX-33820: --------------------------------------- Additionaly I checked it also on 4.11 RC1 and it looks exactly the same. > Cutted text after pasting it from MS Excel in spark TextInput > ------------------------------------------------------------- > > Key: FLEX-33820 > URL: https://issues.apache.org/jira/browse/FLEX-33820 > Project: Apache Flex > Issue Type: Bug > Components: Spark: TextInput > Affects Versions: Apache Flex 4.10.0 > Environment: Windows 7 64bit, Adobe Air 2.6 > Reporter: Piotr Zarzycki > Priority: Minor > > Description: > Text copied from MS Excel's cell and pasted to spark TextInput is cutted and has got additional empty line. > Problem: > We've got text in MS Excel's cell: "43091080566" -> after copying it from cell it looks like -> "43091080566\n" > Example instruction: > 1) Copy text using button > 2) ctrl + v in text input > 3) We are getting this -> http://bit.ly/1au07ay (Text is cutted, and We've got additional line in TextInptut) > Expected output: > Compiled same example app with Apache Flex 4.9.0 -> http://bit.ly/1hIAo0x (Text ok, without additional empty line) > Example: > > xmlns:s="library://ns.adobe.com/flex/spark"> > private function buttonClickHandler(event:MouseEvent):void > { > Clipboard.generalClipboard.clear(); > Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, "43091080566\n"); > } > ]]> > > > > click="buttonClickHandler(event)"/> > > width="100" height="30" > maxChars="11"/> > > -- This message was sent by Atlassian JIRA (v6.1#6144)