Fixes for correction mode - reliably show the corrections when tapping on a word.
Also, continue to show the corrections when user keeps replacing the word repeatedly with different corrections from the suggestion strip. There were problems with tapping suggestions quickly or tapping the same suggestion more than once (same length). Also fixes Bug: 2852891 - Text suggestion appears incorrectly when selecting text that's not a whole word. Changed the TextEntryState states to an enum type instead of int. Needed it to show the states for debugging purposes.
Showing
- java/src/com/android/inputmethod/latin/EditingUtil.java 25 additions, 2 deletionsjava/src/com/android/inputmethod/latin/EditingUtil.java
- java/src/com/android/inputmethod/latin/LatinIME.java 29 additions, 15 deletionsjava/src/com/android/inputmethod/latin/LatinIME.java
- java/src/com/android/inputmethod/latin/TextEntryState.java 89 additions, 63 deletionsjava/src/com/android/inputmethod/latin/TextEntryState.java
Loading
Please register or sign in to comment