Browse Source

fixed SD-1780 - Xaml code completion tooltip hides completion window

pull/14/head
Siegfried Pammer 15 years ago
parent
commit
998a9db966
  1. 2
      src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs

2
src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs

@ -387,9 +387,9 @@ namespace ICSharpCode.XamlBinding
string word = context.Editor.GetWordBeforeCaretExtended(); string word = context.Editor.GetWordBeforeCaretExtended();
if (context.PressedKey != '.' && context.PressedKey != '=' && !word.EndsWith(".") && completionList.PreselectionLength == 0) if (context.PressedKey != '.' && context.PressedKey != '=' && !word.EndsWith(".") && completionList.PreselectionLength == 0)
completionList.PreselectionLength = word.Length; completionList.PreselectionLength = word.Length;
context.Editor.ShowCompletionWindow(completionList);
var insightList = CompletionDataHelper.CreateMarkupExtensionInsight(context); var insightList = CompletionDataHelper.CreateMarkupExtensionInsight(context);
context.Editor.ShowInsightWindow(insightList); context.Editor.ShowInsightWindow(insightList);
context.Editor.ShowCompletionWindow(completionList);
return completionList.Items.Any() || insightList.Any(); return completionList.Items.Any() || insightList.Any();
} }

Loading…
Cancel
Save