From 998a9db966a2ca06cc10a05f0f98b1a7370baa95 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Wed, 15 Dec 2010 17:11:46 +0100 Subject: [PATCH] fixed SD-1780 - Xaml code completion tooltip hides completion window --- .../XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs b/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs index 02855f0047..2a884b04b2 100644 --- a/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs +++ b/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlCodeCompletionBinding.cs @@ -387,9 +387,9 @@ namespace ICSharpCode.XamlBinding string word = context.Editor.GetWordBeforeCaretExtended(); if (context.PressedKey != '.' && context.PressedKey != '=' && !word.EndsWith(".") && completionList.PreselectionLength == 0) completionList.PreselectionLength = word.Length; - context.Editor.ShowCompletionWindow(completionList); var insightList = CompletionDataHelper.CreateMarkupExtensionInsight(context); context.Editor.ShowInsightWindow(insightList); + context.Editor.ShowCompletionWindow(completionList); return completionList.Items.Any() || insightList.Any(); }