#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
800 B

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
/*
using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Document;
using ICSharpCode.AvalonEdit.Highlighting;
*/
namespace ICSharpCode.HtmlSyntaxColorizer
{
public class HtmlWriter
{
public string GenerateHtml(string code, string highlighterName)
{
/*
TextDocument doc = new TextDocument(code);
IHighlightingDefinition def = HighlightingManager.Instance.GetDefinition("C#");
DocumentHighlighter highlighter = new DocumentHighlighter(doc, def.MainRuleSet);
string html = HtmlClipboard.CreateHtmlFragment(doc, highlighter, null, new HtmlOptions());
*/
return "";
}
}
}