* If KeyInputFocus is lost during selection then the cursor should be positioned at end of the selection when Focus regained.
* Behaviour set to match other systems
Change-Id: I51fb52df99f6a8131c2f74acf54651667567f62f
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
mEventData->mDecorator->SetPosition( RIGHT_SELECTION_HANDLE, secondaryPosition.x, secondaryPosition.y, secondaryCursorInfo.lineHeight );
+ // Cursor to be positioned at end of selection so if selection interrupted and edit mode restarted the cursor will be at end of selection
+ mEventData->mPrimaryCursorPosition = (indicesSwapped)?mEventData->mLeftSelectionPosition:mEventData->mRightSelectionPosition;
+
// Set the flag to update the decorator.
mEventData->mDecoratorUpdated = true;
}