|
|
|
@ -64,8 +64,6 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
@@ -64,8 +64,6 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#region ToolTip handling
|
|
|
|
|
public bool ShowDocumentationTooltips { get; set; } |
|
|
|
|
|
|
|
|
|
void toolTip_Closed(object sender, RoutedEventArgs e) |
|
|
|
|
{ |
|
|
|
|
// Clear content after tooltip is closed.
|
|
|
|
@ -77,11 +75,6 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
@@ -77,11 +75,6 @@ namespace ICSharpCode.AvalonEdit.CodeCompletion
|
|
|
|
|
|
|
|
|
|
void completionList_SelectionChanged(object sender, SelectionChangedEventArgs e) |
|
|
|
|
{ |
|
|
|
|
if (!ShowDocumentationTooltips) { |
|
|
|
|
toolTip.IsOpen = false; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var item = completionList.SelectedItem; |
|
|
|
|
if (item == null) |
|
|
|
|
return; |
|
|
|
|