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.
This commit is contained in:
@@ -205,7 +205,7 @@ public class EmacsNative
|
||||
|
||||
/* Return the current value of the selection, or -1 upon
|
||||
failure. */
|
||||
public static native int getSelection (short window);
|
||||
public static native int[] getSelection (short window);
|
||||
|
||||
static
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user