]> git.eshelyaron.com Git - emacs.git/commit
Fix input method synchronization problems
authorPo Lu <luangruo@yahoo.com>
Sun, 4 Jun 2023 04:04:15 +0000 (12:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 4 Jun 2023 04:04:15 +0000 (12:04 +0800)
commit740af4668c8d9bc8e4ee1e60ebeb366690fee93e
tree99d1b732788406053b9fbeb30609b3c4410d94d6
parentc389df992a9f054f9aced4f9a267730b2221e03a
Fix input method synchronization problems

* java/debug.sh (gdbserver_cmd, is_root): Prefer TCP again.
* java/org/gnu/emacs/EmacsNative.java (EmacsNative): New
function `queryAndSpin'.
* java/org/gnu/emacs/EmacsService.java (EmacsService)
(icBeginSynchronous, icEndSynchronous, viewGetSelection): New
synchronization functions.
(resetIC, updateCursorAnchorInfo): Call those instead.
* java/org/gnu/emacs/EmacsView.java (onCreateInputConnection):
Call viewGetSelection.
* src/android.c (JNICALL, android_answer_query_spin): New
functions.
java/debug.sh
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsService.java
java/org/gnu/emacs/EmacsView.java
src/android.c