rainmeter-studio/RainmeterStudio.TextEditor/TextDocumentTemplate.cs

28 lines
639 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RainmeterStudio.Core;
using RainmeterStudio.Core.Documents;
using RainmeterStudio.Core.Model;
namespace RainmeterStudio.TextEditorPlugin
{
/// <summary>
/// A blank text document template
/// </summary>
[PluginExport]
public class TextDocumentTemplate : DocumentTemplate
{
public TextDocumentTemplate()
: base("TextDocument", "txt")
{
}
public override IDocument CreateDocument()
{
return new TextDocument();
}
}
}