     /**
      *  Truncate text to make it fit horizontally in the area defined for the control, 
      *  and append an ellipsis, three periods (...), to the text. This function
-	 *  only works for single line text.
+     *  only works for single line text.
      *
      *  @param truncationIndicator The text to be appended after truncation.
      *  If you pass <code>null</code>, a localizable string

            
            defaultTextFormat = textFormat;
            setTextFormat(textFormat);
			
			// If our text is empty we need to force the style changes in order for
			// textHeight to be valid. Setting the width is sufficient, and should
			// have minimal overhead since we don't have any text.
			if (text == "")
			{
				// Set the width to the fontSize + padding, which is big enough to hold one
				// character. 
				width = textFormat.size + TEXT_WIDTH_PADDING;
			}
			
            invalidateStyleFlag = false;
        }
    }

            _inlineStyleObject = {};
        
        _inlineStyleObject[styleProp] = value;
        
        styleChanged(styleProp);
    }
    
    /**
