      */
     override protected function setValue(value:Number):void
     {
-    	super.setValue(value);
-    	
-    	valueChanged = true;
-    	invalidateProperties();
+        super.setValue(value);
+        
+        valueChanged = true;
+        invalidateProperties();
     }
 
     /**

     */
    override protected function commitProperties():void
    {
    	super.commitProperties();
    	
    	if (valueChanged)
    	{
    		valueChanged = false;
    		textInput.text = value.toString();
    	}
    }
    
	/**
	 *  @private
	 */
	override protected function partAdded(partName:String, instance:Object):void
	{
        super.partAdded(partName, instance);
        
	    if (instance == textInput)
	    {
	        textInput.addEventListener(FlexEvent.ENTER,
	                                   textInput_enterHandler);
	        textInput.text = value.toString();
	    }
	}
    
    /**
     *  @private
     */
	override protected function partRemoved(partName:String, instance:Object):void
	{
        super.partRemoved(partName, instance);
        
	    if (instance == textInput)
	    {
            textInput.removeEventListener(FlexEvent.ENTER, 
                                          textInput_enterHandler);
        }
	}

    /**
     *  @private

     */
    override public function set value(newValue:Number):void
    {
        if (newValue == value)
           return;
           
        super.value = newValue;
        
        valueChanged = true;
        invalidateProperties();
    }
    
    //--------------------------------------------------------------------------
