X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller-impl.h;h=63a897c6c755c281301d3dba400e9a99d745caed;hp=1c6702c5b46c246ff1c524cc2755a8e0a5cea396;hb=8bb76057c85d620f72dfad6e10a8cd286f86faa7;hpb=b05a852e155e887cb0e9e1018205c57bfbbfa334 diff --git a/dali-toolkit/internal/text/text-controller-impl.h b/dali-toolkit/internal/text/text-controller-impl.h index 1c6702c..63a897c 100755 --- 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(); /** + * @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); @@ -761,6 +771,11 @@ struct Controller::Impl 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.