mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am b7ee6484
: am 6139016b
: Merge "Fix a bug where the previous word would not be read correctly" into jb-dev
* commit 'b7ee64844c373a80969d3b98a31e56ecbdfc8bc7': Fix a bug where the previous word would not be read correctly
This commit is contained in:
commit
c95097f8ef
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user