flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [3/4] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34013 - scrap is always plain text at this point
Date Fri, 18 Apr 2014 21:08:23 GMT
FLEX-34013 - scrap is always plain text at this point


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/9d586e66
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/9d586e66
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/9d586e66

Branch: refs/heads/develop
Commit: 9d586e6629c76e38f485df9e832d39a7b3542f34
Parents: fd4a17b
Author: Alex Harui <aharui@apache.org>
Authored: Fri Apr 18 13:53:53 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Apr 18 13:53:53 2014 -0700

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/RichEditableText.as      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9d586e66/frameworks/projects/spark/src/spark/components/RichEditableText.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/RichEditableText.as b/frameworks/projects/spark/src/spark/components/RichEditableText.as
index e37c075..ed5f26d 100644
--- a/frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ b/frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -4764,8 +4764,8 @@ package spark.components
                     {
                         pastedText = pastedText.replace(ALL_NEWLINES_REGEXP, "");
                         po.textScrap = 
-                            TextClipboard.importToScrap(pastedText, po.textScrap.isPlainText()
?
-                                TextConverter.PLAIN_TEXT_FORMAT : TextConverter.TEXT_LAYOUT_FORMAT);
+                            TextClipboard.importToScrap(pastedText, 
+                                TextConverter.PLAIN_TEXT_FORMAT);
                     }
                 }
             }


Mime
View raw message