Skip to content

Commit

Permalink
Fixed issue gitextensions#2301: Fix IME error.
Browse files Browse the repository at this point in the history
If IME is starting composition, input is canceled by AutoCompleteTimer_Tick method calls.
  • Loading branch information
tatachiy committed Feb 15, 2015
1 parent c9657da commit e626633
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions GitUI/SpellChecker/EditNetSpell.cs
Expand Up @@ -983,8 +983,11 @@ private void AutoComplete_Click (object sender, EventArgs e)

private void AutoCompleteTimer_Tick (object sender, EventArgs e)
{
UpdateOrShowAutoComplete(false);
AutoCompleteTimer.Stop();
if (!_customUnderlines.IsImeStartingComposition)
{
UpdateOrShowAutoComplete(false);
AutoCompleteTimer.Stop();
}
}

public void CancelAutoComplete ()
Expand Down

0 comments on commit e626633

Please sign in to comment.