 //--------------------------------------
 
 /**
- *  Dispached after the <code>selectionAnchorIndex</code> and/or
- *  <code>selectionActiveIndex</code> properties have changed
+ *  Dispached after the <code>selectionAnchorPosition</code> and/or
+ *  <code>selectionActivePosition</code> properties have changed
  *  due to a user interaction.
  */
 [Event(name="selectionChange", type="flash.events.Event")]

			textChanged = false;
		}

		if (selectionAnchorIndexChanged)
		{
			textView.selectionAnchorIndex = _selectionAnchorIndex;
			selectionAnchorIndexChanged = false
		}

		if (selectionActiveIndexChanged)
		{
			textView.selectionActiveIndex = _selectionActiveIndex;
			selectionActiveIndexChanged = false
		}
	}


	}

	//----------------------------------
	//  selectionAnchorPosition
    //----------------------------------

	/**
	 *  @private
	 */
	private var _selectionAnchorPosition:int = -1;

	/**
	 *  @private
	 */
	private var selectionAnchorPositionChanged:Boolean = false;

	[Bindable("selectionChange")]
	
	/**
	 *  The anchor position of the selection.
	 *  The "anchor" point is the stable end of the selection
	 *  when the selection is extended.
	 *  The anchor position may be either the start
	 *  or the end of the selection.
	 *
	 *  @default -1
	 */
	public function get selectionAnchorPosition():int
	{
		return _selectionAnchorPosition;
	}

	/**
	 *  @private
	 */
	public function set selectionAnchorPosition(value:int):void
	{
		if (value == _selectionAnchorPosition)
			return;
		
		_selectionAnchorPosition = value;
		selectionAnchorPositionChanged = true;

		invalidateProperties();

