diff options
author | Po Lu <luangruo@yahoo.com> | 2023-03-06 15:30:29 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-03-06 15:30:29 +0800 |
commit | c0a6f14f4a5069c28b7c90247546f1c5889a6d21 (patch) | |
tree | 6cae54c0ccfea1b4495c8faf9bad1f1995b81423 /src/frame.h | |
parent | 31883b8de119ea77f68332b842268b42063b1807 (diff) | |
download | emacs-c0a6f14f4a5069c28b7c90247546f1c5889a6d21.tar.gz |
Update Android port
* java/org/gnu/emacs/EmacsNative.java (EmacsNative): New
function requestSelectionUpdate.
* java/org/gnu/emacs/EmacsView.java (onCreateInputConnection):
Call it instead of losing if getting the current selection
fails.
* src/android-asset.h (AAsset_seek): Define stub.
* src/android.c (android_open): Take mode_t.
(android_open_asset, android_close_asset, android_asset_read_quit)
(android_asset_read, android_asset_lseek, android_asset_fstat):
New functions.
* src/android.h (struct android_fd_or_asset): Update prototypes.
* src/androidgui.h (enum android_ime_operation): Add new
operation to update the selection position.
* src/androidterm.c (android_handle_ime_event): Handle new
operation.
(requestSelectionUpdate): New function.
* src/fileio.c (close_file_unwind_emacs_fd): New function.
(Fcopy_file, union read_non_regular, read_non_regular)
(Finsert_file_contents): Use optimized codepath to insert
Android asset files.
* src/frame.h (enum text_conversion_operation): New operation.
* src/textconv.c (really_request_point_update)
(handle_pending_conversion_events_1, request_point_update): New
functions.
* src/textconv.h: Update prototypes.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h index ca4cca17d74..e2900d1c15b 100644 --- a/src/frame.h +++ b/src/frame.h @@ -88,6 +88,7 @@ enum text_conversion_operation TEXTCONV_SET_COMPOSING_REGION, TEXTCONV_SET_POINT_AND_MARK, TEXTCONV_DELETE_SURROUNDING_TEXT, + TEXTCONV_REQUEST_POINT_UPDATE, }; /* Structure describing a single edit being performed by the input |