mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 98886775: Merge "Handle double space inserting a period."
* commit '98886775cfb95dc7f6ab50653215373b94b13941': Handle double space inserting a period.
This commit is contained in:
commit
33fdb46b5e
@ -83,6 +83,9 @@ public final class StatsUtils {
|
|||||||
final String commitWord, final boolean isBatchMode) {
|
final String commitWord, final boolean isBatchMode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void onDoubleSpacePeriod() {
|
||||||
|
}
|
||||||
|
|
||||||
public static void onLoadSettings(SettingsValues settingsValues) {
|
public static void onLoadSettings(SettingsValues settingsValues) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -925,6 +925,7 @@ public final class InputLogic {
|
|||||||
if (tryPerformDoubleSpacePeriod(event, inputTransaction)) {
|
if (tryPerformDoubleSpacePeriod(event, inputTransaction)) {
|
||||||
mSpaceState = SpaceState.DOUBLE;
|
mSpaceState = SpaceState.DOUBLE;
|
||||||
inputTransaction.setRequiresUpdateSuggestions();
|
inputTransaction.setRequiresUpdateSuggestions();
|
||||||
|
StatsUtils.onDoubleSpacePeriod();
|
||||||
} else if (swapWeakSpace && trySwapSwapperAndSpace(event, inputTransaction)) {
|
} else if (swapWeakSpace && trySwapSwapperAndSpace(event, inputTransaction)) {
|
||||||
mSpaceState = SpaceState.SWAP_PUNCTUATION;
|
mSpaceState = SpaceState.SWAP_PUNCTUATION;
|
||||||
mSuggestionStripViewAccessor.setNeutralSuggestionStrip();
|
mSuggestionStripViewAccessor.setNeutralSuggestionStrip();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user