Files
UnrealEngineUWP/Engine/Source/Programs/UnrealDocTool/MarkdownMode/ToolWindow/UDNDocView.cs
2014-03-14 14:13:41 -04:00

36 lines
1.3 KiB
C#

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Shell.Interop;
namespace MarkdownMode.ToolWindow
{
using MarkdownSharp.EpicMarkdown;
internal class UDNDocView
{
public UDNDocView(string sourceFilePath, IWpfTextView textEditorView, IVsWindowFrame windowFrame, MarkdownPackage package, IVsUIShell uiShell)
{
SourceFilePath = sourceFilePath;
TextEditorView = textEditorView;
WindowFrame = windowFrame;
NavigateToComboData = new NavigateToComboData(textEditorView, uiShell);
ParsingResultsCache = new UDNParsingResultsCache(package, sourceFilePath, textEditorView);
}
public string SourceFilePath { get; private set; }
public IWpfTextView TextEditorView { get; private set; }
public IVsWindowFrame WindowFrame { get; private set; }
public NavigateToComboData NavigateToComboData { get; private set; }
public UDNParsingResultsCache ParsingResultsCache { get; private set; }
public EMDocument CurrentEMDocument { get { return ParsingResultsCache.Results.Document; } }
}
}