- ( mImpl->mEventData->mPrimaryCursorPosition >= 0 ) conditional is useless,
becuase mPrimaryCursorPosition is unsigned int type, so it's always greater
than or equal to zero.
- Removed the unused conditional in text-controller.cpp
Change-Id: I9b0ec109f29accd8535eb5022ba404270193a9d0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
1,
UPDATE_INPUT_STYLE );
}
- else if( ( mImpl->mEventData->mPrimaryCursorPosition >= 0 ) && ( keyCode == Dali::DevelKey::DALI_KEY_DELETE ) )
+ else if( keyCode == Dali::DevelKey::DALI_KEY_DELETE )
{
// Remove the character after the current cursor position
removed = RemoveText( 0,