Changed the API description by API review 86/152586/1
authorInHong Han <inhong1.han@samsung.com>
Thu, 21 Sep 2017 07:12:26 +0000 (16:12 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 26 Sep 2017 10:52:52 +0000 (10:52 +0000)
Change-Id: I8040829069651f2021f8deaa3b355763591280af
(cherry picked from commit fd4e6af2a24aec75caf7632039e9ee1e7afc67dd)

include/inputmethod.h

index a6dccc3754a45b856685deacbb2d88887663105f..9adc218ee5cb644620332af959aa54fb1a2452ac 100644 (file)
@@ -1667,7 +1667,8 @@ int ime_set_selection(int start, int end);
 /**
  * @brief Gets the selected text synchronously.
  *
- * @remarks @a text must be released using free().
+ * @details If multi-line text is selected, the result will contain '\n' for each newline character.
+ * And if the selected text is empty, the result will be an empty string.
  *
  * @since_tizen 4.0
  *
@@ -1675,6 +1676,8 @@ int ime_set_selection(int start, int end);
  *
  * @privilege %http://tizen.org/privilege/ime
  *
+ * @remarks @a text must be released using free().
+ *
  * @param[out] text The selected text
  *
  * @return 0 on success, otherwise a negative error value
@@ -1683,7 +1686,7 @@ int ime_set_selection(int start, int end);
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
  * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet
  */
-EXPORT_API int ime_get_selected_text(char **text);
+int ime_get_selected_text(char **text);
 
 /**
  * @brief This API returns the pointer of input panel main window.