Describe how to use ime_delete_surrounding_text in detail 12/284012/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 8 Nov 2022 11:37:10 +0000 (20:37 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 8 Nov 2022 11:37:17 +0000 (20:37 +0900)
Change-Id: Ic25b4f66611ecaa90bcc7393e01be49163d5c8bc
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
inputmethod/include/inputmethod.h

index 463dedf..359dc71 100644 (file)
@@ -1795,8 +1795,8 @@ int ime_request_surrounding_text(int maxlen_before, int maxlen_after);
  *
  * @privilege %http://tizen.org/privilege/ime
  *
- * @param[in] offset The offset value from the cursor position
- * @param[in] len The length of the text to delete
+ * @param[in] offset The offset value from the cursor position (in characters not bytes). For example, please use -3 if you want to remove 3 characters in front of current cursor position.
+ * @param[in] len The length of the text to delete (in characters not bytes)
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error