      *  @private
      *  the last editedItemPosition and the last
      *  position where editing was attempted if editing
-     *  was cancelled.  We restore editing
-     *  to this point if we get focus from the TAB key
+     *  was cancelled.  
      */
     private var lastEditedItemPosition:*;
     

    
    /**
     *  @private
     *  Closes the itemEditorInstance if the foucs is outside of the dataGrid.
     */
    private function editor_focusOutHandler(event:FocusEvent):void
    {
        //trace("editor_focusOutHandler " + event.relatedObject);
        if (event.relatedObject && 
            ((itemEditorInstance && DisplayObjectContainer(itemEditorInstance).contains(event.relatedObject)) ||
                (editedItemRenderer && DisplayObjectContainer(editedItemRenderer).contains(event.relatedObject))) ||
            dataGrid.contains(event.relatedObject))
            return;
        
        // ignore textfields losing focus on mousedowns
        if (!event.relatedObject)

        //trace("grid_gridDoubleClickHandler: got double click");
        
        if (!dataGrid.editable)
            return;
        
        if (!isValidCellPosition(event.rowIndex, event.columnIndex))
            return;
        
        lastEvent = event;
