             invalidateTightTextHeight = true;
         }
     }
-    
+
     /**
      *  @copy mx.core.UIComponent#getStyle()
      *

import mx.core.FlexTextField;
import mx.core.IInvalidating;
import mx.core.IVisualElement;
import mx.core.UIComponent;
import mx.core.mx_internal;
import mx.events.FlexEvent;

    {
        if (invalidateStyleFlag)
        {
            // compute mirror
            const oldMirror: Boolean = mirror;
            if (parent is IVisualElement)
                mirror = IVisualElement(parent).layoutDirection == LayoutDirection.RTL;
            if (mirror || oldMirror)
                validateTransformMatrix();

            var align:String = getStyle("textAlign");
            if (align == "start")
                align = TextFormatAlign.LEFT;
            if (align == "end")
                align = TextFormatAlign.RIGHT;
            // textalign must be mirrored as well
            if (mirror){
                if (align == TextFormatAlign.LEFT)
                   align =TextFormatAlign.RIGHT;
                else if (align == TextFormatAlign.RIGHT )
                  align = TextFormatAlign.LEFT;
            }
            textFormat.align = align;
            textFormat.font = getStyle("fontFamily");
            textFormat.bold = getStyle("fontWeight") == "bold";
