(TextController) Refactored out Text updating methods & moved another method to the...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-controller.h
index 4e6f99b..5d8c021 100644 (file)
@@ -1531,6 +1531,21 @@ public: // Text-input Event Queuing.
   void LongPressEvent( GestureState state, float x, float y );
 
   /**
+   * @brief Used to get the Primary cursor position.
+   *
+   * @return Primary cursor position.
+   */
+  CharacterIndex GetPrimaryCursorPosition() const;
+
+  /**
+   * @brief Used to set the Primary cursor position.
+   *
+   * @param[in] index for the Primary cursor position.
+   * @return[in] true if cursor position changed, false otherwise.
+   */
+  bool SetPrimaryCursorPosition( CharacterIndex index );
+
+  /**
    * @brief Creates a selection event.
    *
    * It could be called from the TapEvent (double tap) or when the text selection popup's sellect all button is pressed.
@@ -1821,6 +1836,8 @@ private:
   struct EventHandler;
   struct InputFontHandler;
   struct PlaceholderHandler;
+  struct Relayouter;
+  struct TextUpdater;
 
   Impl* mImpl;
 };