public void RubyHighlightTests() { //Running this forces the definition XML to be validated HighlightHelpers.GetHighlightedHtml("Ruby", "__LINE__"); Assert.Inconclusive(); }
public void DosHighlightTests() { //Running this forces the definition XML to be validated HighlightHelpers.GetHighlightedHtml("DOS", "+"); Assert.Inconclusive(); }
public override void Load(Stream stream) { var sourceHtml = HighlightHelpers.GetHighlightedHtml(definition, stream); var webBrowser = new WebBrowser { Dock = DockStyle.Fill, DocumentText = sourceHtml }; Controls.Add(webBrowser); }
private void UpdateView() { Output.DocumentText = HighlightHelpers.GetHighlightedHtml(Style.Text, Input.Text); }