[4.0] Fix the cursor position after text selecting using tap 83/166583/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 11 Jan 2018 02:07:31 +0000 (11:07 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 11 Jan 2018 02:16:07 +0000 (11:16 +0900)
commit4649e0d393eccb5629a3c8cec6edadd0e21d3359
tree1ba2625f3988d227b5d2e11ae1662378efefb218
parente1dfb1f9f033c1c1e6e999052aaa519bc53a765c
[4.0] Fix the cursor position after text selecting using tap

- If the user select some text by tapping, then when the selected text is highlighted,
 if now the user press left or right arrow key (without shift key),
 the cursor should be at the beginning or the end of the selected key.
 (depending on whether you press the left or the right arrow key)

Change-Id: I5f221b7f4eafbabde54a64f514949931ce235175
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-TextEditor.cpp
dali-toolkit/internal/text/decorator/text-decorator.cpp
dali-toolkit/internal/text/decorator/text-decorator.h
dali-toolkit/internal/text/text-controller-impl.cpp