X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller-text-updater.h;h=f512940c0e596c8127bfd4f9a9e87deb69bd9095;hb=d74d70d51ed70b00e29a2b6feac5419124fffc49;hp=147ccb9fca01e1b7018fc5e809cab86f06086a7b;hpb=8ca4aa19ff1c7282e1a724d4660bf34e5a4b77fa;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-controller-text-updater.h b/dali-toolkit/internal/text/text-controller-text-updater.h index 147ccb9..f512940 100644 --- a/dali-toolkit/internal/text/text-controller-text-updater.h +++ b/dali-toolkit/internal/text/text-controller-text-updater.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_UPDATER_H /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,6 @@ * */ - // EXTERNAL INCLUDES #include @@ -27,13 +26,10 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Methods that update the text */ @@ -62,6 +58,14 @@ struct Controller::TextUpdater /// @copydoc Text::Contoller::ResetText /// @param[in] controller The controller static void ResetText(Controller& controller); + + /// @copydoc Text::Contoller::InsertTextAnchor + /// @param[in] controller The controller + static void InsertTextAnchor(Controller& controller, int numberOfCharacters, CharacterIndex previousCursorIndex); + + /// @copydoc Text::Contoller::RemoveTextAnchor + /// @param[in] controller The controller + static void RemoveTextAnchor(Controller& controller, int cursorOffset, int numberOfCharacters, CharacterIndex previousCursorIndex); }; } // namespace Text