switch to non ascii mode on re-active#1129
Open
swigger wants to merge 1 commit intorime:masterfrom
Open
Conversation
When a user switches to another input method and then switches back, in practice, it almost always involves switching to an English input method and then back. In this situation, the user definitely wants to input Chinese. However, the input method might be recording ASCII mode, which doesn't match the user's expectation. This submission explicitly states that in this case, the user should switch back to Chinese mode. Signed-off-by: swigger <swigger@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a user switches to another input method and then switches back, in practice, it almost always involves switching to an English input method and then back. In this situation, the user definitely wants to input Chinese. However, the input method might be recording ASCII mode, which doesn't match the user's expectation. This submission explicitly states that in this case, the user should switch back to Chinese mode.
当用户切换到别的输入法,再切换回来,在实际中,几乎一定是切到英文输入法,再切换回来。在这种情况下,用户肯定是希望输入中文的。但输入法可能记录了ascii mode,从而与用户预期不符。这个提交明确在此种情况下切换回中文模式