2014-07-29 20:35:59 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2014-08-12 13:33:13 +00:00
|
|
|
|
using RainmeterStudio.Core;
|
|
|
|
|
using RainmeterStudio.Core.Documents;
|
|
|
|
|
using RainmeterStudio.Core.Model;
|
2014-07-29 20:35:59 +00:00
|
|
|
|
|
2014-08-12 13:33:13 +00:00
|
|
|
|
namespace RainmeterStudio.TextEditorPlugin
|
2014-07-29 20:35:59 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A blank text document template
|
|
|
|
|
/// </summary>
|
2014-08-12 13:33:13 +00:00
|
|
|
|
[PluginExport]
|
2014-07-29 20:35:59 +00:00
|
|
|
|
public class TextDocumentTemplate : DocumentTemplate
|
|
|
|
|
{
|
|
|
|
|
public TextDocumentTemplate()
|
2014-08-15 12:31:33 +00:00
|
|
|
|
: base("Text", "txt")
|
2014-07-29 20:35:59 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override IDocument CreateDocument()
|
|
|
|
|
{
|
|
|
|
|
return new TextDocument();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|