Transferred from the Adobe Open Source Subversion Repository
Revision: 18697
Author: dloverin@adobe.com
Date: 2010-11-18T15:19:57.251528Z
Log Message:
-----------
Grid item editor bug fixes.
DataGridEditor
• The F2 key was editing non-editable cells in cell selection mode
• Mouse clicking on non-UI components in an editor was causing the editor to close.
GridItemEditor
• Calling event.stopPropagation() on mouse move events was keeping RichEditableText from seeing the mouse moves and selecting text with the mouse (it listens to the stage). Canceling the mouse move event has the same effect. The work around I ended up with was to dispatch the mouse move event to the datagrid’s parent and stopPropagation() on the original event. This is a bit messy but it keeps all the logic in the editor.
QE notes: None.
Doc notes: None.
Bugs: SDK-28582
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No.
Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
|