     //  direction
     //----------------------------------
 
-	/**
-	 *  The directionality of the text.
-	 *
-	 *  <p>The allowed values are <code>"ltr"</code> for left-to-right text,
-	 *  as in Latin-style scripts,
-	 *  and <code>"rtl"</code> for right-to-left text,
-	 *  as in Arabic and Hebrew.</p>
-	 *
-	 *  <p>FTE and TLF use this value in their bidirectional text layout algorithm,
-	 *  which maps Unicode character order to glyph order.</p>
-	 * 
-	 *  <p>Note: This style only applies when this UITextFormat
-	 *  is used with a UIFTETextField rather than a UITextField.</p>
-	 *
-	 *  @default null
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
-	 */
+    /**
+     *  The directionality of the text.
+     *
+     *  <p>The allowed values are <code>"ltr"</code> for left-to-right text,
+     *  as in Latin-style scripts,
+     *  and <code>"rtl"</code> for right-to-left text,
+     *  as in Arabic and Hebrew.</p>
+     *
+     *  <p>FTE and TLF use this value in their bidirectional text layout algorithm,
+     *  which maps Unicode character order to glyph order.</p>
+     * 
+     *  <p>Note: This style only applies when this UITextFormat
+     *  is used with a UIFTETextField rather than a UITextField.</p>
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public var direction:String;
     
     //----------------------------------

     *  of the TextField class in the Flash Player.</p>
     * 
     *  @default false
     */
    public var useFTE:Boolean = false;


        // Set other properties based on CSS styles.
        if (!useFTE)
        {
            // These properties do not have meaning in FTETextField,
            // and have been implemented to return either null or NaN,
            // so don't try to set them on a FTETextField.
            measurementTextField.antiAliasType = antiAliasType;
            measurementTextField.gridFitType = gridFitType;
            measurementTextField.sharpness = sharpness;
            measurementTextField.thickness = thickness;
        }
        else
        {
            // The properties have meaning only on a FTETextField.
            measurementTextField.direction = direction;
            measurementTextField.locale = locale;
        }
        
        // Set the text to be measured into the TextField.
