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
(TextController/ScrollView) Reduced LOC
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-controller-text-updater.cpp
diff --git
a/dali-toolkit/internal/text/text-controller-text-updater.cpp
b/dali-toolkit/internal/text/text-controller-text-updater.cpp
index
75ea73c
..
8a19786
100644
(file)
--- a/
dali-toolkit/internal/text/text-controller-text-updater.cpp
+++ b/
dali-toolkit/internal/text/text-controller-text-updater.cpp
@@
-55,7
+55,7
@@
void Controller::TextUpdater::SetText(Controller& controller, const std::string&
ResetText(controller);
// Remove the style.
ResetText(controller);
// Remove the style.
-
controller
.ClearStyleData();
+
impl
.ClearStyleData();
CharacterIndex lastCursorIndex = 0u;
CharacterIndex lastCursorIndex = 0u;
@@
-150,7
+150,7
@@
void Controller::TextUpdater::SetText(Controller& controller, const std::string&
controller.ResetCursorPosition(lastCursorIndex);
// Scrolls the text to make the cursor visible.
controller.ResetCursorPosition(lastCursorIndex);
// Scrolls the text to make the cursor visible.
-
controller
.ResetScrollPosition();
+
impl
.ResetScrollPosition();
impl.RequestRelayout();
impl.RequestRelayout();