mirror of
https://github.com/OlivierGuinart/Merlin32Language.git
synced 2025-01-15 15:33:49 +00:00
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.Composition;
|
|
using Microsoft.VisualStudio.Language.Intellisense;
|
|
using Microsoft.VisualStudio.Text;
|
|
using Microsoft.VisualStudio.Text.Editor;
|
|
using Microsoft.VisualStudio.Utilities;
|
|
|
|
namespace VSLTK.Intellisense
|
|
{
|
|
#region IIntellisenseControllerProvider
|
|
|
|
[Export(typeof(IIntellisenseControllerProvider))]
|
|
[Name("Template QuickInfo Controller")]
|
|
[ContentType("text")]
|
|
internal class TemplateQuickInfoControllerProvider : IIntellisenseControllerProvider
|
|
{
|
|
#region Asset Imports
|
|
|
|
[Import]
|
|
internal IQuickInfoBroker QuickInfoBroker { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region IIntellisenseControllerFactory Members
|
|
|
|
public IIntellisenseController TryCreateIntellisenseController(ITextView textView,
|
|
IList<ITextBuffer> subjectBuffers)
|
|
{
|
|
return new TemplateQuickInfoController(textView, subjectBuffers, this);
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion
|
|
} |