You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ma...@apache.org on 2013/10/06 15:57:47 UTC

[06/25] git commit: [flex-sdk] [refs/heads/mobileexperimental] - Fixes FLEX-33428

Fixes FLEX-33428


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

Branch: refs/heads/mobileexperimental
Commit: f1c398552e30dacbf9b63dec82666b436b86a7e6
Parents: c3d5e62
Author: quetwo <ni...@theflexgroup.org>
Authored: Thu Oct 3 16:50:50 2013 -0400
Committer: quetwo <ni...@theflexgroup.org>
Committed: Thu Oct 3 16:50:50 2013 -0400

----------------------------------------------------------------------
 frameworks/projects/spark/src/mx/core/FTETextField.as | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f1c39855/frameworks/projects/spark/src/mx/core/FTETextField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/mx/core/FTETextField.as b/frameworks/projects/spark/src/mx/core/FTETextField.as
index 89b0dc0..1374134 100644
--- a/frameworks/projects/spark/src/mx/core/FTETextField.as
+++ b/frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -179,7 +179,7 @@ package mx.core
          *  which control what work validateNow() needs to do.
          */
         private static const FLAG_TEXT_SET:uint = 1 << 6;
-        private static const FLAG_HTML_TEXT_SET:uint = 1 << 7;
+        public static const FLAG_HTML_TEXT_SET:uint = 1 << 7;
         private static const FLAG_TEXT_LINES_INVALID:uint = 1 << 8;
         private static const FLAG_GRAPHICS_INVALID:uint = 1 << 9;
         
@@ -2437,7 +2437,7 @@ package mx.core
         /**
          *  @private
          */
-        private function clearFlag(mask:uint):void
+        public function clearFlag(mask:uint):void
         {
             flags &= ~mask;
         }
@@ -3653,7 +3653,10 @@ internal class HTMLHelper
         // and needs to be regenerated on demand,
         // because with htmlText what-you-set-is-not-what-you-get.
         if (!styleSheet)
+		{
             htmlText = null;
+			textfield.clearFlag(FTETextField.FLAG_HTML_TEXT_SET);
+		}
         
         if (!textFlow)
             return;