]> git.eshelyaron.com Git - emacs.git/commit
Correctly report start and end in extracted text
authorPo Lu <luangruo@yahoo.com>
Thu, 1 Jun 2023 00:29:48 +0000 (08:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 1 Jun 2023 00:29:48 +0000 (08:29 +0800)
commitce238de2b1126bb1f356285c9713d8efefae3d59
tree3a07e273d3bf948527e63bcc61f4e59c523785cd
parenta964116008735492a50a309c28fb8768630c14b7
Correctly report start and end in extracted text

* src/androidterm.c (struct android_get_extracted_text_context):
New field `start_offset' and `end_offset'.  Delete `offset'.
(android_get_extracted_text, android_build_extracted_text):
Replace `offset' with new args `start_offset' and `end_offset'.
(NATIVE_NAME): Set `start_offset' and `end_offset'.
(android_update_selection): Likewise.
* src/textconv.c (get_extracted_text): Likewise.
* src/textconv.h: Update prototypes.
src/androidterm.c
src/textconv.c
src/textconv.h