am b29efecd: Merge "Fix a bug with open parens and some other chars" into jb-mr1-dev
* commit 'b29efecd26986e17d73f7226e8ac694e116601ba': Fix a bug with open parens and some other charsmain
commit
813ddb4242
|
@ -1752,7 +1752,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
swapSwapperAndSpace();
|
swapSwapperAndSpace();
|
||||||
mSpaceState = SPACE_STATE_SWAP_PUNCTUATION;
|
mSpaceState = SPACE_STATE_SWAP_PUNCTUATION;
|
||||||
} else if (SPACE_STATE_PHANTOM == spaceState
|
} else if (SPACE_STATE_PHANTOM == spaceState
|
||||||
&& !mCurrentSettings.isWeakSpaceStripper(primaryCode)) {
|
&& !mCurrentSettings.isWeakSpaceStripper(primaryCode)
|
||||||
|
&& !mCurrentSettings.isPhantomSpacePromotingSymbol(primaryCode)) {
|
||||||
// If we are in phantom space state, and the user presses a separator, we want to
|
// If we are in phantom space state, and the user presses a separator, we want to
|
||||||
// stay in phantom space state so that the next keypress has a chance to add the
|
// stay in phantom space state so that the next keypress has a chance to add the
|
||||||
// space. For example, if I type "Good dat", pick "day" from the suggestion strip
|
// space. For example, if I type "Good dat", pick "day" from the suggestion strip
|
||||||
|
|
Loading…
Reference in New Issue