projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(TextInput) Double tap on whitespace gives selection options not cut or copy
[platform/core/uifw/dali-toolkit.git]
/
base
/
dali-toolkit
/
internal
/
controls
/
text-view
/
text-processor.cpp
diff --git
a/base/dali-toolkit/internal/controls/text-view/text-processor.cpp
b/base/dali-toolkit/internal/controls/text-view/text-processor.cpp
index
b41b841
..
99b7b59
100644
(file)
--- a/
base/dali-toolkit/internal/controls/text-view/text-processor.cpp
+++ b/
base/dali-toolkit/internal/controls/text-view/text-processor.cpp
@@
-175,6
+175,11
@@
void FindNearestWord( const MarkupProcessor::StyledTextArray& text, size_t offse
{
j++;
}
+
+ while(i > 0 && IsWhiteSpace(text, i-1))
+ {
+ i--;
+ }
}
start = i;