Skip to content

Commit

Permalink
better handling of backspacing/deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
retailcoder committed Jun 5, 2018
1 parent 06bf68b commit f2bc972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Core/AutoComplete/AutoCompleteService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void UpdateEnabledAutoCompletes(Configuration config)

private void VBENativeServices_CaretHidden(object sender, AutoCompleteEventArgs e)
{
if (e.ContentHash == _contentHash)
if (e.ContentHash == _contentHash || e.OldCode.Length < (_lastCode?.Length ?? 0))
{
return;
}
Expand Down

0 comments on commit f2bc972

Please sign in to comment.