Merge "Fixing the issue where characters were being drawn at the same location whenev...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-controller-text-updater.h
index 147ccb9..f512940 100644 (file)
@@ -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 <string>
 
 
 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