Fix text selection on white spaces or new lines paragraphs. 56/80556/3
authorVictor Cebollada <v.cebollada@samsung.com>
Mon, 18 Jul 2016 10:28:46 +0000 (11:28 +0100)
committerVíctor Cebollada <v.cebollada@samsung.com>
Tue, 19 Jul 2016 10:20:24 +0000 (03:20 -0700)
commit1bd947edf624ffee8fd4b6ce43c53a9b08513e0f
treef095d618e19b86bfa1b8b0dbabee4f7722fb8e6e
parent8d57a46c918cd6a824dbe6f93884e8e453c35e26
Fix text selection on white spaces or new lines paragraphs.

  Hit character                                           Select
|-------------------------------------------------------|------------------------------------------|
| On a word                                             | The word                                 |
| On a single white space between words                 | The word before or after the white space |
| On one of the multiple contiguous white spaces        | The white spaces                         |
| On a single white space which is in the position zero | The white space and the next word        |
| On a new paragraph character                          | The word or group of white spaces before |
|-------------------------------------------------------|------------------------------------------|

Change-Id: I485221e90e716d4262c7e5fd3c114f0851e7177f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/cursor-helper-functions.cpp
dali-toolkit/internal/text/cursor-helper-functions.h
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller.cpp