Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6139016b authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug where the previous word would not be read correctly" into jb-dev

parents d7515a0b 6e5ca890
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ public class EditingUtils {
    /**
     * Number of characters we want to look back in order to identify the previous word
     */
    private static final int LOOKBACK_CHARACTER_NUM = 15;
    // Provision for a long word pair and a separator
    private static final int LOOKBACK_CHARACTER_NUM = BinaryDictionary.MAX_WORD_LENGTH * 2 + 1;
    private static final int INVALID_CURSOR_POSITION = -1;

    private EditingUtils() {