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
[dali-toolkit] TextEditor/TextField add PrimaryCursorPosition property
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-controller-impl.h
diff --git
a/dali-toolkit/internal/text/text-controller-impl.h
b/dali-toolkit/internal/text/text-controller-impl.h
index
1c6702c
..
63a897c
100755
(executable)
--- a/
dali-toolkit/internal/text/text-controller-impl.h
+++ b/
dali-toolkit/internal/text/text-controller-impl.h
@@
-631,6
+631,16
@@
struct Controller::Impl
void OnSelectNoneEvent();
/**
void OnSelectNoneEvent();
/**
+ * @copydoc Text::Controller::GetPrimaryCursorPosition()
+ */
+ CharacterIndex GetPrimaryCursorPosition() const;
+
+ /**
+ * @copydoc Text::Controller::SetPrimaryCursorPosition()
+ */
+ bool SetPrimaryCursorPosition( CharacterIndex index );
+
+ /**
* @copydoc Text::SelectableControlInterface::SetTextSelectionRange()
*/
void SetTextSelectionRange(const uint32_t *pStart, const uint32_t *pEndf);
* @copydoc Text::SelectableControlInterface::SetTextSelectionRange()
*/
void SetTextSelectionRange(const uint32_t *pStart, const uint32_t *pEndf);
@@
-761,6
+771,11
@@
struct Controller::Impl
void ScrollTextToMatchCursor( const CursorInfo& cursorInfo );
/**
void ScrollTextToMatchCursor( const CursorInfo& cursorInfo );
/**
+ * @brief Scrolls the text to make primary cursor visible.
+ */
+ void ScrollTextToMatchCursor( );
+
+ /**
* @brief Create an actor that renders the text background color
*
* @return the created actor or an empty handle if no background color needs to be rendered.
* @brief Create an actor that renders the text background color
*
* @return the created actor or an empty handle if no background color needs to be rendered.