<?xml version="1.0" encoding="us-ascii"?><rss version="2.0"><channel><title>CodeHighlighter (for ASP.NET) Support</title><link>http://www.ActiproSoftware.com/Support/Forums/ViewForum.aspx?ForumID=7</link><description>Post about suggestions, bugs, workarounds, and request support.</description><language>en-us</language><copyright>Copyright ? 1999-2010 Actipro Software LLC. All Rights Reserved.</copyright><webMaster>Actipro Software Support</webMaster><lastBuildDate>Thu, 28 Jan 2010 06:12:09 GMT</lastBuildDate><ttl>20</ttl><image><title>CodeHighlighter (for ASP.NET) Support</title><url>http://www.ActiproSoftware.com/Images/ActiproSoftware150.png</url><width>150</width><height>30</height><link>http://www.ActiproSoftware.com/Support/Forums/ViewForum.aspx?ForumID=7</link><description>Post about suggestions, bugs, workarounds, and request support.</description></image><item><guid isPermaLink="false">actiprox-annc-feed-here-007build0058</guid><title>Latest CodeHighlighter Release</title><category>Product Release</category><author>Actipro Software Support</author><pubDate>Mon, 09 Nov 2009 22:11:23 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconDownload.gif" align="absmiddle" /&gt; &lt;i&gt;Product Release&lt;/i&gt;&lt;/p&gt;The latest CodeHighlighter release &lt;b&gt;v4.0.0058&lt;/b&gt; was made available on our site on &lt;b&gt;11/09/2009&lt;/b&gt;.&lt;p&gt;Check out the &lt;a href="http://www.actiprosoftware.com/Support/Forums/ViewForum.aspx?ForumID=1"&gt;Announcements&lt;/a&gt; forum for details.</description></item><item><guid isPermaLink="false">0d748575-4b60-4c37-bafd-8b5617b2b889</guid><title>Re: Setting the font</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16822</link><pubDate>Thu, 28 Jan 2010 06:12:09 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;I've fixed this issue. Now i don't set anything to the tag SPAN and others TAGs like this one. Thanks for your advice.</description></item><item><guid isPermaLink="false">ae2be5a8-f930-4a8c-8332-4ffa27cc58f7</guid><title>Re: Is possible to hide or scroll the overflow?</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4549#16821</link><pubDate>Thu, 28 Jan 2010 06:09:38 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;OK! Thanks for your response.</description></item><item><guid isPermaLink="false">62d9bbc9-4932-418d-bbcd-f1f09fd1223a</guid><title>Re: Is possible to hide or scroll the overflow?</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4549#16803</link><pubDate>Wed, 27 Jan 2010 15:51:17 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;Jortx,
&lt;br /&gt;
&lt;br /&gt;We wrap our PRE tags with a div like this:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;div class=&amp;quot;ForumPostCode&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/div&amp;gt;'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;div &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;ForumPostCode&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;div&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;Then here is our CSS for that:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;&lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '.ForumPostCode { margin: 0.5em 0px 0.5em 15px; width: 650px; overflow: auto; }'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;.ForumPostCode { margin: 0.5em 0px 0.5em 15px; width: 650px; overflow: auto; }&lt;/pre&gt;&lt;/div&gt;But we use fixed width.  You'd have to consult some other CSS forums for more help with overflow if you are having trouble since that is outside the scope of this control.</description></item><item><guid isPermaLink="false">ad5819dd-9d7d-4f96-8d8e-08f579278b98</guid><title>Re: Setting the font</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16801</link><pubDate>Wed, 27 Jan 2010 15:34:25 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;Well that is how CSS works.  We use SPANs to set font attributes so if you apply a global font-family to SPAN tags then it will be applied to anything we do.  I would never recommend setting a global font-family/size on a SPAN tag in CSS.  You should set the CSS font properties on things like BODY, TD, etc. instead, or SPANs but only ones with CSS class or id's.
&lt;br /&gt;
&lt;br /&gt;Another thing is that our Style tags in the language definition files do let you set FontFamilyName and FontSize attributes there, which would likely override your CSS settings as-is.</description></item><item><guid isPermaLink="false">57c649bf-c24a-4383-9bef-f193fa7c8e8c</guid><title>Re: Is possible to hide or scroll the overflow?</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4549#16795</link><pubDate>Wed, 27 Jan 2010 08:44:23 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;Ok.
&lt;br /&gt;I've tried to set a fix width to the PRE, and then it works. I can see the scroll bars.
&lt;br /&gt;So, without setting a fix with, is there a way to show the scroll bars when the content is biger?
&lt;br /&gt;Thanks for the replies.</description></item><item><guid isPermaLink="false">d12f10b1-dabc-4dc0-beef-98d745a6e99a</guid><title>Is possible to hide or scroll the overflow?</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4549#16791</link><pubDate>Wed, 27 Jan 2010 06:55:06 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;Hi,
&lt;br /&gt;I'm trying to write a few chars in the same line, inside the control, and the result is the PRE gets bigger than the screen, in place of show the scroll bars o hide the overflow.
&lt;br /&gt;I've tried to set de overflow: scroll and overflow: hidden , in the CSS class used by the PRE control, unsuccessfully.
&lt;br /&gt;Maybe there is another way to change it... I hope it.
&lt;br /&gt;Thanks a lot!
&lt;br /&gt;
&lt;br /&gt;&lt;i&gt;[Modified at 01/27/2010 06:58 AM]&lt;/i&gt;</description></item><item><guid isPermaLink="false">60732fed-a05e-405f-8426-f87d66a0bb25</guid><title>Re: Setting the font</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16787</link><pubDate>Wed, 27 Jan 2010 03:10:42 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;YES! Is it!
&lt;br /&gt;If you set a default font to the SPAN html control in yous CSS style sheet, then you are not able to change the CodeHighlighter Control Font.
&lt;br /&gt;Maybe should be a way to set the font in the control regardless of the default font.
&lt;br /&gt;Cheers!</description></item><item><guid isPermaLink="false">a34d0451-31eb-4653-af03-1a3a15041363</guid><title>Re: Setting the font</title><category>Comment</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16786</link><pubDate>Wed, 27 Jan 2010 03:00:44 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;Thanks a lot.
&lt;br /&gt;You are right, it should be something like this, but i'm trying to explain that is not easy to change by the &amp;quot;logical&amp;quot; ways.
&lt;br /&gt;No change with this:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;pre style=&amp;quot;font-family: Arial;&amp;quot;&amp;gt;&amp;lt;CH:CodeHighlighter runat=&amp;quot;server&amp;quot; ID=&amp;quot;CssCodeHighlighter&amp;quot; LanguageKey=&amp;quot;CSS&amp;quot;&amp;gt;...'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;style&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;font-family: Arial;&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;CH:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CssCodeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CSS&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;No change with this:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;DIV style=&amp;quot;font-family: Arial;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;CH:CodeHighlighter runat=&amp;quot;server&amp;quot; ID=&amp;quot;CssCodeHighlighter&amp;quot; LanguageKey=&amp;quot;CSS&amp;quot;&amp;gt;...'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;DIV &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;style&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;font-family: Arial;&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;CH:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CssCodeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CSS&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;This throw an exception:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;pre&amp;gt;&amp;lt;CH:CodeHighlighter runat=&amp;quot;server&amp;quot; ID=&amp;quot;CssCodeHighlighter&amp;quot; LanguageKey=&amp;quot;CSS&amp;quot; style=&amp;quot;font-family: Courier-New&amp;quot;&amp;gt;...'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;CH:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CssCodeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CSS&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; style&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;font-family: Courier-New&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&amp;#191;Am I the extrange case? &amp;#191;Nobody has had this problem?
&lt;br /&gt;Great control, but this is a problem if is not easy to change the font...
&lt;br /&gt;
&lt;br /&gt;Maybe this CSS rule in my site has some incompatibility with your control:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[CSS] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', 'span, td, .TextoNormal {\r\nfont-family: Verdana, Arial;\r\nfont-size: 14px;\r\ncolor: #bbbbbb;\r\n}'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #800000;"&gt;span, td, .TextoNormal &lt;/span&gt;&lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;
font-family&lt;/span&gt;&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #0000FF;"&gt; Verdana, Arial&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;
font-size&lt;/span&gt;&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #0000FF;"&gt; 14px&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;
color&lt;/span&gt;&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #0000FF;"&gt; #bbbbbb&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;
&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;I allways see the same font, &amp;quot;Verdana 14px&amp;quot;, while making the changes I have said.
&lt;br /&gt;
&lt;br /&gt;Thanks for your response!
&lt;br /&gt;
&lt;br /&gt;&lt;i&gt;[Modified at 01/27/2010 03:05 AM]&lt;/i&gt;</description></item><item><guid isPermaLink="false">f832a5d2-0879-47c5-9922-d2fcfd192d1d</guid><title>Re: Setting the font</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16782</link><pubDate>Tue, 26 Jan 2010 16:16:54 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;I was able to change it by putting a CSS style on the PRE that should surround the control:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;pre style=&amp;quot;font-family: Arial;&amp;quot;&amp;gt;&amp;lt;CH:CodeHighlighter runat=&amp;quot;server&amp;quot; ID=&amp;quot;CssCodeHighlighter&amp;quot; LanguageKey=&amp;quot;CSS&amp;quot;&amp;gt;...'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;pre &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;style&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;font-family: Arial;&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;CH:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CssCodeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CSS&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><guid isPermaLink="false">9be79862-2159-4c9d-999e-be9e3110f031</guid><title>Setting the font</title><category>Question</category><author>Jortx</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=4546#16771</link><pubDate>Tue, 26 Jan 2010 11:52:39 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;Product Version: &lt;b&gt;CodeHighlighter v4.0.58&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;Hi!
&lt;br /&gt;I have a very simple question... &amp;#191;How to change the font used in the control?
&lt;br /&gt;Is very nice that the font used, be the default font, but i need to change the font, and is being very difficult to change it!!
&lt;br /&gt;Nothing changes when I put all the control inside this TAGs: &amp;lt;font face=&amp;quot;Courier New&amp;quot;&amp;gt; and &amp;lt;/font&amp;gt;
&lt;br /&gt;I've tried with DIVs, and nothing...
&lt;br /&gt;I don't find any property to change in the control properties...
&lt;br /&gt;Just find, in the documentation, something like this XML syntax (to find in the documentation search &amp;quot;Style Tag&amp;quot;):
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[XML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '&amp;lt;SyntaxLanguage Key=&amp;quot;C#&amp;quot; LanguageDefinitionVersion=&amp;quot;4.0&amp;quot;&amp;gt;\r\n    &amp;lt;!-- Highlighting Styles --&amp;gt;    \r\n    &amp;lt;Styles&amp;gt;\r\n        &amp;lt;!-- Optional Styles to Override Built-In Styles --&amp;gt;\r\n        &amp;lt;Style Key=&amp;quot;BracketHighlightingStyle&amp;quot; Name=&amp;quot;Bracket Highlighted Text&amp;quot; BackColor=&amp;quot;Silver&amp;quot; /&amp;gt;\r\n        &amp;lt;Style Key=&amp;quot;CollapsibleTextStyle&amp;quot; Name=&amp;quot;Collapsible Text&amp;quot; ForeColor=&amp;quot;Gray&amp;quot; BorderStyle=&amp;quot;Solid&amp;quot; BorderCornerStyle=&amp;quot;SinglePixelRounded&amp;quot; /&amp;gt;\r\n[...]'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;SyntaxLanguage &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Key&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;C#&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageDefinitionVersion&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;4.0&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
    &lt;/span&gt;&lt;span style="color: #008000;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="color: #008000;"&gt; Highlighting Styles &lt;/span&gt;&lt;span style="color: #008000;"&gt;--&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    
    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Styles&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
        &lt;/span&gt;&lt;span style="color: #008000;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="color: #008000;"&gt; Optional Styles to Override Built-In Styles &lt;/span&gt;&lt;span style="color: #008000;"&gt;--&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Style &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Key&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;BracketHighlightingStyle&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Bracket Highlighted Text&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BackColor&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Silver&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Style &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Key&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;CollapsibleTextStyle&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Collapsible Text&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; ForeColor&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Gray&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BorderStyle&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Solid&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BorderCornerStyle&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;SinglePixelRounded&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
[...]&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;I don't know how to use it.
&lt;br /&gt;&amp;#191;Can anybody tell me how to set the font i like, in the control?
&lt;br /&gt;Thanks a lot!</description></item><item><guid isPermaLink="false">007be65d-6644-42f7-b42b-b20b672aa417</guid><title>Re: medium trust</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3845#14223</link><pubDate>Fri, 24 Apr 2009 11:22:58 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;Well it needs the dll files marked as redistributable in the Readme to be placed in your ASP.NET site's bin folder.  Then you'd also need to set up your web.config like in the sample.</description></item><item><guid isPermaLink="false">ba952bf7-3c13-4035-8b7a-0dc31df5e091</guid><title>Re: medium trust</title><category>Question</category><author>darko</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3845#14220</link><pubDate>Thu, 23 Apr 2009 19:12:39 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;I have site at shared host.
&lt;br /&gt;What I need to do or tell my web provider to start using codehighlighter.</description></item><item><guid isPermaLink="false">1c176f2f-5e94-494e-b52b-39fa5dfe3417</guid><title>Re: medium trust</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3845#14211</link><pubDate>Thu, 23 Apr 2009 13:43:44 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;I believe CodeHighlighter works in partial trust.</description></item><item><guid isPermaLink="false">846398dd-10c4-4847-86aa-ea9783ce721a</guid><title>medium trust</title><category>Question</category><author>darko</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3845#14204</link><pubDate>Thu, 23 Apr 2009 08:57:35 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;Product Version: &lt;b&gt;CodeHighlighter v4.0.56&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;does latest version of CodeHighlighter work in medium trust?</description></item><item><guid isPermaLink="false">27d5f294-4b4c-49fb-8dac-edc780a4ea00</guid><title>Re: Modifying the generated HTML</title><category>More Information</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11778</link><pubDate>Thu, 21 Aug 2008 09:25:16 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostMoreInformation.gif" align="absmiddle" /&gt; &lt;i&gt;More Information&lt;/i&gt;&lt;/p&gt;Sorry but not right now since all CodeHighlighter outputs is raw HTML code.</description></item><item><guid isPermaLink="false">34fe0b69-f50e-44cc-83e3-c9ca06b36b1e</guid><title>Re: Modifying the generated HTML</title><category>Suggestion</category><author>Svyatoslav Danyliv</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11772</link><pubDate>Wed, 20 Aug 2008 13:11:13 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostSuggestion.gif" align="absmiddle" /&gt; &lt;i&gt;Suggestion&lt;/i&gt;&lt;/p&gt;Hi Again
&lt;br /&gt;
&lt;br /&gt;After deeper investigation i found that it will be more useful to have client side functions for highlighting lines or pieces of code.&lt;ol&gt;1. Select piece of code
&lt;br /&gt;2. Select line(s) it's a part of 1
&lt;br /&gt;3. Navigate to line&lt;/ol&gt;It is possible?
&lt;br /&gt;
&lt;br /&gt;Thanks,
&lt;br /&gt;Svyatoslav</description></item><item><guid isPermaLink="false">36dccc60-a740-479c-a050-e944fe2f2fa5</guid><title>Re: Modifying the generated HTML</title><category>More Information</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11745</link><pubDate>Wed, 13 Aug 2008 14:52:09 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostMoreInformation.gif" align="absmiddle" /&gt; &lt;i&gt;More Information&lt;/i&gt;&lt;/p&gt;Not sure yet but our SyntaxEditor for WPF product is under heavy development now and that means that work is progressing on the improved document/parsing library that will eventually be used for CodeHighlighter.  Still it may be several months before a new CodeHighlighter version for the improved framework is ready.
&lt;br /&gt;
&lt;br /&gt;Ahh I see.  Thanks for the suggestion, I'll mark it down.</description></item><item><guid isPermaLink="false">3e966eca-00a3-4437-8720-4fb8f35c17d7</guid><title>Re: Modifying the generated HTML</title><category>Comment</category><author>Svyatoslav Danyliv</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11740</link><pubDate>Wed, 13 Aug 2008 04:22:40 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;b&gt;Quote:&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;So the next major version of CodeHighlighter will be using this updated assembly and we hope to add support for things like span indicators at that time. &lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;I'll be waiting &lt;img src="http://www.actiprosoftware.com/Images/IconForumPostHappy.gif"&gt; Approximately when?
&lt;br /&gt;
&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;Quote:&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;What did you mean about limiting code lines, like just showing a range of text int the rendered output? Couldn't you just pre-filter the text you pass to the control to accomplish that?&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;Yes, I can limit code passed to Highlighter but there will be problem with opened comments
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[C#] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '/* comment comment\r\n   comment comment\r\n   comment comment\r\n   comment comment\r\n*/\r\npublic class SomeClass\r\n{\r\n  public int SomeMethod();\r\n}'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #008000;"&gt;/*&lt;/span&gt;&lt;span style="color: #008000;"&gt; comment comment
   comment comment
   comment comment
   comment comment
&lt;/span&gt;&lt;span style="color: #008000;"&gt;*/&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; SomeClass
{
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; SomeMethod();
}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;Drop first line (limit range) and we have
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[C#] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '   comment comment\r\n   comment comment\r\n   comment comment\r\n*/\r\npublic class SomeClass\r\n{\r\n  public int SomeMethod();\r\n}'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;   comment comment
   comment comment
   comment comment
&lt;/span&gt;&lt;span style="color: #000000;"&gt;*/&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; SomeClass
{
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; SomeMethod();
}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;So range of text can be catched correctly only by CodeHighlighter.</description></item><item><guid isPermaLink="false">b77615a9-6b4b-4660-8d31-87119b1bbd50</guid><title>Re: Modifying the generated HTML</title><category>More Information</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11735</link><pubDate>Mon, 11 Aug 2008 12:05:27 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostMoreInformation.gif" align="absmiddle" /&gt; &lt;i&gt;More Information&lt;/i&gt;&lt;/p&gt;Hi Svyatoslav,
&lt;br /&gt;
&lt;br /&gt;Thanks for the suggestions.  No updates yet, however right now we are working on the next major version of our document/parsing engine as we develop our WPF version of SyntaxEditor.  We are making a separate assembly that only does document/parsing functionality.  So the next major version of CodeHighlighter will be using this updated assembly and we hope to add support for things like span indicators at that time.
&lt;br /&gt;
&lt;br /&gt;What did you mean about limiting code lines, like just showing a range of text int the rendered output?  Couldn't you just pre-filter the text you pass to the control to accomplish that?</description></item><item><guid isPermaLink="false">3bdc2bbc-7b99-4f81-b716-6cc50ae462cb</guid><title>Re: Modifying the generated HTML</title><category>Suggestion</category><author>Svyatoslav Danyliv</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2686#11733</link><pubDate>Sun, 10 Aug 2008 00:03:27 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostSuggestion.gif" align="absmiddle" /&gt; &lt;i&gt;Suggestion&lt;/i&gt;&lt;/p&gt;Hi All,
&lt;br /&gt;
&lt;br /&gt;Is tehere some news for this feature?
&lt;br /&gt;I need to highlight some lines of code with different background and i see that i will need additional HTML parsing. It's possible but i'm looking for more accurate solution.
&lt;br /&gt;
&lt;br /&gt;I suggest the following. I can add to original source file a special tags. For examle:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[C#] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', 'public \r\n[CodeHighliter, Background=yellow, VirtualSpace=1, Bookmark=#BookmarkName, HTML=&amp;quot;maybe some open html tags&amp;quot;]class Test {}[/CodeHighliter, HTML=&amp;quot;maybe some close html tags&amp;quot;]\r\n  void [CodeHighliter, Bacground=green]SomeFunction[/CodeHighliter](int someParam)\r\n  {\r\n  }\r\n'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; 
[CodeHighliter, Background&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;yellow, VirtualSpace&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800080;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;, Bookmark&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;#BookmarkName, HTML&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;maybe some open html tags&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;]&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; Test {}[&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;CodeHighliter, HTML&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;maybe some close html tags&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;]
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; [CodeHighliter, Bacground&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;green]SomeFunction[&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;CodeHighliter](&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; someParam)
  {
  }
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;b&gt;Background&lt;/b&gt; tells that background color should be changed to yellow, 
&lt;br /&gt;&lt;b&gt;VirtualSpace&lt;/b&gt; tells that line should be colored fully including virtual space.
&lt;br /&gt;&lt;b&gt;Bookmark&lt;/b&gt; - it will be nice if CodeHighlighter will put bookmarks for needful lines of code for navigation
&lt;br /&gt;&lt;b&gt;HTML&lt;/b&gt; - maybe for placing some marks to correct html after generating.
&lt;br /&gt;
&lt;br /&gt;I assume that this needs some preprocessing and may be out of scope of SyntaxtEdit engine. But who know maybe it's not too hard to implement. It will be very appresiated!
&lt;br /&gt;
&lt;br /&gt;I'm trying to finish our internal tool for analysing Crash Call Stack information, and will be good to have engine that can highlight problematic lines in code.
&lt;br /&gt;Also preprocessing can be replaced by additional API before  generation. IOW acceptable is all, that can tell to CodeHighlighter how highlighting should be changed &lt;img src="http://www.actiprosoftware.com/Images/IconForumPostHappy.gif"&gt;
&lt;br /&gt;
&lt;br /&gt;BTW, Thanks for great product!
&lt;br /&gt;
&lt;br /&gt;P.S. What about limiting code lines? I found post with this suggestion but i think this still in TODO also?
&lt;br /&gt;
&lt;br /&gt;TIA, 
&lt;br /&gt;Svyatoslav
&lt;br /&gt;
&lt;br /&gt;&lt;i&gt;[Modified at 08/10/2008 12:26 PM]&lt;/i&gt;</description></item><item><guid isPermaLink="false">9abf6e8a-0e48-49c2-8279-51ce725d2952</guid><title>Re: Indentation and code formatting</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3018#11153</link><pubDate>Tue, 27 May 2008 07:25:03 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;Only if the language implementation supports formatting.  Our Web Languages Add-on's XML language does support document formatting but that's the only one we currently provide that does have built-in code formatting support at this time.</description></item><item><guid isPermaLink="false">d764a4ea-5d16-4c01-aa8c-821c5bfc4f1f</guid><title>Indentation and code formatting</title><category>Question</category><author>Nigel Ellis</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=3018#11150</link><pubDate>Mon, 26 May 2008 19:12:38 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;Product Version: &lt;b&gt;CodeHighlighter v4.0.51&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;Hi,
&lt;br /&gt;
&lt;br /&gt;I'm using the code formatting library in a managed code application (Office Addin).  The formatting is working fine (syntax coloring).   I was wondering if there was anyway to have the engine handle reformatting indentation.
&lt;br /&gt;
&lt;br /&gt;For example:
&lt;br /&gt;   foreach (int i in method()) { Console.WriteLine(i); }
&lt;br /&gt;
&lt;br /&gt;==&amp;gt;
&lt;br /&gt;...foreach (int i in method())
&lt;br /&gt;...{
&lt;br /&gt;......Console.WriteLine(i);
&lt;br /&gt;...}
&lt;br /&gt;
&lt;br /&gt;Thanks,
&lt;br /&gt;Nigel.</description></item><item><guid isPermaLink="false">f8e414c8-c843-4995-934a-ade4dc016413</guid><title>Re: Nesting in a ListView control does not display code</title><category>Comment</category><author>TimothyP</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2939#10937</link><pubDate>Sat, 12 Apr 2008 18:53:16 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;Hi,
&lt;br /&gt;The problem is solved. This was my code:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '\r\n&amp;lt;cc1:CodeHighlighter ID=&amp;quot;codeHighlighter&amp;quot; runat=&amp;quot;server&amp;quot; LanguageKey=\'&amp;lt;%# Eval(&amp;quot;Language&amp;quot;) %&amp;gt;\'&amp;gt;\r\n     &amp;lt;%# Eval(&amp;quot;Body&amp;quot;) %&amp;gt;\r\n&amp;lt;/cc1:CodeHighlighter&amp;gt;\r\n'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;cc1:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;codeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;='&amp;lt;%# &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Eval(&amp;quot;Language&amp;quot;) %&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&amp;gt;
     &lt;/span&gt;&lt;span style="background-color: #FFFF00; color: #000000;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;# &lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #0000FF;"&gt;Eval&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;(&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;Body&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;) &lt;/span&gt;&lt;span style="background-color: #FFFF00; color: #000000;"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;cc1:CodeHighlighter&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;The solution was to set the text using the property instead:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[HTML] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', '\r\n&amp;lt;cc1:CodeHighlighter ID=&amp;quot;codeHighlighter&amp;quot; runat=&amp;quot;server&amp;quot; LanguageKey=\'&amp;lt;%# Eval(&amp;quot;Language&amp;quot;) %&amp;gt;\' Text=\'&amp;lt;%# Eval(&amp;quot;Body&amp;quot;) %&amp;gt;\'/&amp;gt;\r\n'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;cc1:CodeHighlighter &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;ID&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;codeHighlighter&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; runat&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; LanguageKey&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;='&amp;lt;%# &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Eval(&amp;quot;Language&amp;quot;) %&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;' Text='&lt;/span&gt;&lt;span style="background-color: #FFFF00; color: #000000;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;# &lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #0000FF;"&gt;Eval&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;(&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;Body&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="background-color: #F5F5F5; color: #000000;"&gt;) &lt;/span&gt;&lt;span style="background-color: #FFFF00; color: #000000;"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'/&amp;gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;Setting the Text using the first method doesn't work for data bound values.
&lt;br /&gt;I don't know if this is a bug or not, but it works for me now.
&lt;br /&gt;
&lt;br /&gt;Thank you for offering both great tools and great support :-)</description></item><item><guid isPermaLink="false">007ae0c2-788b-4180-b145-1af978c6f806</guid><title>Re: Use CodeHighlighter directly in code</title><category>Comment</category><author>Golo Roden</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2957#10934</link><pubDate>Fri, 11 Apr 2008 06:53:35 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostComment.gif" align="absmiddle" /&gt; &lt;i&gt;Comment&lt;/i&gt;&lt;/p&gt;Hi,
&lt;br /&gt;
&lt;br /&gt;okay, thanks for your reply, I'll try to get it to work on the upcoming weekend ...
&lt;br /&gt;
&lt;br /&gt;Cheerio,
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;Golo</description></item><item><guid isPermaLink="false">5f8b6624-54af-4ed9-a684-43aa587f5bdb</guid><title>Re: Use CodeHighlighter directly in code</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2957#10933</link><pubDate>Fri, 11 Apr 2008 06:50:09 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;Looks like the Troubleshooting topic is only in the SyntaxEditor control help.  Here is the part that is is referring to:
&lt;br /&gt;
&lt;br /&gt;If you copy one of our dynamic language definition samples from the sample project for use in your project, you may encounter this error message when you load the language in your application: 
&lt;br /&gt;
&lt;br /&gt;An error occurred while loading the DynamicSyntaxLanguage '{Unknown}': The syntax language type 'TestApplication.[LanguageName]SyntaxLanguage, TestApplication' could not be loaded. The problem occurred near line 1, position 2 in Unknown Stream 
&lt;br /&gt;
&lt;br /&gt;What is happening here is that the root SyntaxLanguage tag in the XML language definition is specifying which code-behind class to use for outlining and other features. The XML files are configured to work with our TestApplication assembly. However it's a quick change to make a copy of them work with your project. 
&lt;br /&gt;
&lt;br /&gt;These two topics describe how to use the SyntaxLanguage tag's SyntaxLanguageTypeName attribute and what value you need to set to get it working with your project: 
&lt;br /&gt;
&lt;br /&gt;[edit - Look at this topic in the CH documentation]: Dynamic Languages Guide / XML Definition Specification / SyntaxLanguage Tag</description></item><item><guid isPermaLink="false">e4c1947c-7ff2-4a57-8aa8-6d54794b1762</guid><title>Re: Use CodeHighlighter directly in code</title><category>Question</category><author>Golo Roden</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2957#10932</link><pubDate>Fri, 11 Apr 2008 06:36:36 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;Hi,
&lt;br /&gt;
&lt;br /&gt;thanks for your reply.
&lt;br /&gt;
&lt;br /&gt;For the most languages I have gotten it to work now using the following code:
&lt;div class="ForumPostCode"&gt;&lt;pre&gt;&lt;div class="LanguageKey"&gt;[C#] - &lt;a href="#" onclick="javascript: window.clipboardData.setData('Text', 'CodeHighlighterEngine engine = new CodeHighlighterEngine();\r\nSyntaxLanguage language = DynamicSyntaxLanguage.LoadFromXml(@&amp;quot;ActiproSoftware.PHP.xml&amp;quot;, 0);\r\n\r\nstring text = &amp;quot;using System;\\n\\npublic class Program\\n{\\n}&amp;quot;;\r\ntext = engine.GenerateHtmlInline(Guid.NewGuid().ToString(), text, language);'); return false;"&gt;Copy Code&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;CodeHighlighterEngine engine &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; CodeHighlighterEngine();
SyntaxLanguage language &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; DynamicSyntaxLanguage.LoadFromXml(&lt;/span&gt;&lt;span style="color: #800000;"&gt;@&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;ActiproSoftware.PHP.xml&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;);

&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; text &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;using System;\n\npublic class Program\n{\n}&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;
text &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; engine.GenerateHtmlInline(Guid.NewGuid().ToString(), text, language);&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;Anyway, there are languages where this approach does not work, e.g. C#. When trying to load the data from the XML file I always get an exception telling me:
&lt;br /&gt;
&lt;br /&gt;{&amp;quot;An error occurred while loading the DynamicSyntaxLanguage '{Unknown}':\r\nThe syntax language type 'CodeHighlighterTest.CSharpDynamicSyntaxLanguage, CodeHighlighterTest' could not be loaded.  Please see the 'Troubleshooting' topic in the documentation for details on how to resolve this error.\r\nThe problem occurred near line 1, position 2\r\nin Unknown Stream.&amp;quot;}
&lt;br /&gt;
&lt;br /&gt;What is wrong with my code?
&lt;br /&gt;
&lt;br /&gt;Thanks in advance,
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;Golo
&lt;br /&gt;
&lt;br /&gt;&lt;i&gt;[Modified at 04/11/2008 06:36 AM]&lt;/i&gt;</description></item><item><guid isPermaLink="false">876fe1dd-cf79-4ba7-accc-13944f2189fb</guid><title>Re: Use CodeHighlighter directly in code</title><category>Resolution</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2957#10931</link><pubDate>Fri, 11 Apr 2008 06:24:41 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostResolution.gif" align="absmiddle" /&gt; &lt;i&gt;Resolution&lt;/i&gt;&lt;/p&gt;1) You can create a CodeHighlighterEngine object and call its GenerateHtmlInline method.  
&lt;br /&gt;
&lt;br /&gt;Dynamic languages can be loaded from the DynamicSyntaxLanguage.LoadFromXml static method.  It's on DynamicSyntaxLanguage, not SyntaxLanguage.
&lt;br /&gt;
&lt;br /&gt;2) Yes unless you embed them in an assembly as a manifesst resource and load them from there.</description></item><item><guid isPermaLink="false">1fbcf9bc-2446-4e61-b963-ca2f3a0d2575</guid><title>Use CodeHighlighter directly in code</title><category>Question</category><author>Golo Roden</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2957#10929</link><pubDate>Thu, 10 Apr 2008 13:06:31 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostQuestion.gif" align="absmiddle" /&gt; &lt;i&gt;Question&lt;/i&gt;&lt;/p&gt;Product Version: &lt;b&gt;CodeHighlighter v4.0.51&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;Hi there,
&lt;br /&gt;
&lt;br /&gt;I have got some questions regarding your CodeHighlighter component.
&lt;br /&gt;
&lt;br /&gt;1. Do you have a working (!) example on how to use CodeHighlighter directly in code? In all examples I could find there is a method LoadFromXml on SyntaxLanguage type, but actually this method does not exist :-(
&lt;br /&gt;
&lt;br /&gt;2. Do I have to deploy the .xml files, or is there a way to deploy only the .dll's?
&lt;br /&gt;
&lt;br /&gt;Have a nice day,
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;Golo</description></item><item><guid isPermaLink="false">4dec3cb6-1baf-4e0c-94dd-746479b98a6c</guid><title>Re: Nesting in a ListView control does not display code</title><category>More Information</category><author>Actipro Software Support</author><link>http://www.ActiproSoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2939#10862</link><pubDate>Mon, 31 Mar 2008 07:45:45 GMT</pubDate><description>&lt;p&gt;&lt;img src="http://www.ActiproSoftware.com/Images/IconForumPostMoreInformation.gif" align="absmiddle" /&gt; &lt;i&gt;More Information&lt;/i&gt;&lt;/p&gt;Could you put together a simple web site project that shows all this happening and email it over so that we can debug with it to make sure we correct the issue properly?  Thanks!</description></item></channel></rss>