You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/18 23:08:23 UTC

[3/4] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34013 - scrap is always plain text at this point

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 <ah...@apache.org>
Authored: Fri Apr 18 13:53:53 2014 -0700
Committer: Alex Harui <ah...@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);
                     }
                 }
             }