fixed automatic capitalization not working at the beginning of the field, when there is already some text in it
This commit is contained in:
parent
3c9d01a347
commit
c523f0f0f1
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ public class ModePredictive extends InputMode {
|
||||||
private static Handler handleSuggestionsExternal;
|
private static Handler handleSuggestionsExternal;
|
||||||
|
|
||||||
// auto text case selection
|
// auto text case selection
|
||||||
private final Pattern startOfSentenceRegex = Pattern.compile("(?<!\\.)[.?!¿¡]\\s*$");
|
private final Pattern startOfSentenceRegex = Pattern.compile("(?<!\\.)(^|[.?!¿¡])\\s*$");
|
||||||
|
|
||||||
// punctuation/emoji
|
// punctuation/emoji
|
||||||
private final Pattern containsOnly1Regex = Pattern.compile("^1+$");
|
private final Pattern containsOnly1Regex = Pattern.compile("^1+$");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue