Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2bfc75a6d9
@@ -9914,6 +9914,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
suggestionSpansFlags[i]);
|
suggestionSpansFlags[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move cursor at the end of the replacement word
|
||||||
|
Selection.setSelection(editable, spanEnd + lengthDifference);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hide();
|
hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user