// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Collections.Immutable;
usingSystem.Composition;
...
...
@@ -11,7 +10,6 @@
usingMicrosoft.CodeAnalysis.Host;
usingMicrosoft.CodeAnalysis.Host.Mef;
usingMicrosoft.CodeAnalysis.Shared.Extensions;
usingMicrosoft.CodeAnalysis.Text;
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.FindReferences
...
...
@@ -174,16 +172,13 @@ internal static class DefinitionItemExtensions
@@ -51,6 +63,31 @@ public bool TryGetValue(string keyName, out object content)
returncontent!=null;
}
//internal bool TryCreateColumnContent(string columnName, out FrameworkElement element)
//{
// if (columnName == StandardTableKeyNames2.TextInlines)
// {
// var backgroundBrush = _presenter._formatMapService.GetEditorFormatMap("tooltip").GetProperties("MarkerFormatDefinition/HighlightedReference")["BackgroundColor"];
// var textBlock = _taggedParts.TaggedText.ToTextBlock(_presenter._typeMap,
// (run, taggedText, position) =>
// {
// if (position == _taggedParts.HighlightSpan.Start)