You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
892 B
C#
29 lines
892 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.ComponentModel.Composition;
|
|
|
|
using Microsoft.VisualStudio.Language.Intellisense;
|
|
using Microsoft.VisualStudio.Text.Operations;
|
|
using Microsoft.VisualStudio.Text;
|
|
using Microsoft.VisualStudio.Utilities;
|
|
|
|
namespace MarkdownMode.AutoCompletion
|
|
{
|
|
[Export(typeof(ICompletionSourceProvider))]
|
|
[ContentType("markdown")]
|
|
[Name("MarkdownMode autocompletion")]
|
|
public class AutoCompletionSourceProvider : ICompletionSourceProvider
|
|
{
|
|
[Import]
|
|
public ITextStructureNavigatorSelectorService TextNavigatorService { get; private set; }
|
|
|
|
[Import]
|
|
public IGlyphService GlyphService { get; private set; }
|
|
|
|
public ICompletionSource TryCreateCompletionSource(ITextBuffer textBuffer)
|
|
{
|
|
return new AutoCompletionSource(textBuffer, this);
|
|
}
|
|
}
|
|
}
|