]> git.eshelyaron.com Git - emacs.git/commit
Report both sides of the region to the input method upon setup
authorPo Lu <luangruo@yahoo.com>
Sun, 19 Feb 2023 11:56:51 +0000 (19:56 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 19 Feb 2023 11:56:51 +0000 (19:56 +0800)
commit0998ab3ade7caf2b163cd99a44b8a3f17be763d5
tree32b41d400299eefa5f881e8beaaf7d8ae4f97bfe
parent0aa19e993b1603d9cadc47c172f998f4d89b9e49
Report both sides of the region to the input method upon setup

* java/org/gnu/emacs/EmacsNative.java (getSelection): Return
array of ints.
* java/org/gnu/emacs/EmacsView.java (onCreateInputConnection):
Adjust accordingly.
* src/androidterm.c (struct android_get_selection_context): New
field `mark'.
(android_get_selection): Set the mark field as appropriate.
(getSelection): Adjust accordingly.
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsView.java
src/androidterm.c