<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Thomas Johansen's Blog : AylarSolutions.Highlight</title><link>http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx</link><description>Tags: AylarSolutions.Highlight</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Highlight + NDoc = true</title><link>http://weblogs.asp.net/tjohansen/archive/2004/04/18/115196.aspx</link><pubDate>Sat, 17 Apr 2004 13:05:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:115196</guid><dc:creator>Aylar</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=115196</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/04/18/115196.aspx#comments</comments><description>&lt;P&gt;Just finished up a nifty little util for parsing XML documentation files for use with NDoc. Yep, you guessed it! This means you can now have color highlighted code samples in your documentation. &lt;/P&gt;
&lt;P&gt;To get it to work I had to alter a few source files for NDoc. Well if anyone is interested in trying this out, either contact me using the contact form or leave a comment here and I'll send you my app and the &amp;#8220;hacked&amp;#8221; ndoc binaries.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=115196" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>Bug discovered</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/13/88636.aspx</link><pubDate>Fri, 12 Mar 2004 17:06:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:88636</guid><dc:creator>Aylar</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=88636</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/03/13/88636.aspx#comments</comments><description>&lt;P&gt;I just discovered and fixed a bug related to code blocks.&amp;nbsp; Therefor I recommend you re-download the latest build:&lt;BR&gt;&lt;A href="http://highlight.aylarsolutions.com/downloads/AylarSolutions.Highlight-2.0.zip"&gt;http://highlight.aylarsolutions.com/downloads/AylarSolutions.Highlight-2.0.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As a result of this fix, all code parsed by the HTML engine, is now automatically encapsulated in &amp;lt;pre&amp;gt; tags.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=88636" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>How to integrate Highlight into .Text</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/12/88333.aspx</link><pubDate>Fri, 12 Mar 2004 02:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:88333</guid><dc:creator>Aylar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=88333</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/03/12/88333.aspx#comments</comments><description>&lt;P&gt;&lt;A href="http://scottwater.com/blog"&gt;Scott&lt;/A&gt; just posted a very interesting piece on how to integrate Highlight into .Text&lt;BR&gt;I highly suggest reading it!&lt;BR&gt;&lt;A href="http://scottwater.com/blog/archive/2004/03/11/11537.aspx"&gt;http://scottwater.com/blog/archive/2004/03/11/11537.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=88333" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>Definition aliases</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/12/88314.aspx</link><pubDate>Fri, 12 Mar 2004 02:03:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:88314</guid><dc:creator>Aylar</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=88314</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/03/12/88314.aspx#comments</comments><description>&lt;P&gt;Just wanted to share an idea with you; I'm currently pondering the possiblity of adding alises to the definitions. &lt;BR&gt;Eg. C# = CSharp, VB.NET = VB, J# = JSharp and so on. The reason for wanting to add this sort of support is to cater for user 'preference' really. Because if you want to give users this flexiblity in the current 2.0 release, you will need to create duplicate definitions in the configuration file.&lt;/P&gt;
&lt;P&gt;Well I'd love to get some feedback on this - do you think this is useful, or should I spend my time on other areas?&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=88314" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>Highlight 2.0 Demo</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/11/87885.aspx</link><pubDate>Thu, 11 Mar 2004 13:27:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:87885</guid><dc:creator>Aylar</dc:creator><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=87885</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/03/11/87885.aspx#comments</comments><description>&lt;P&gt;Just finished uploading&amp;nbsp;a very simple demo of Highlight 2.0.&amp;nbsp; The sample takes advantage of the Extensions assembly - the CodeBlockHighlighter class&lt;/P&gt;
&lt;P&gt;To see what Highlight can do, simply add some content to the textbox with some inline code. These sections of code needs to be encapsulated in [code language=&amp;#8220;?&amp;#8220;][/code] tags (Eg. [code language=&amp;#8221;C#&amp;#8221;]// a simple comment[/code] )&lt;/P&gt;
&lt;P&gt;&lt;A href="http://highlight.aylarsolutions.com/Samples/default.aspx"&gt;http://highlight.aylarsolutions.com/Samples/default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Enjoy! ;)&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=87885" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>AylarSolutions.Highlight v2.0 Released</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/11/87867.aspx</link><pubDate>Thu, 11 Mar 2004 12:39:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:87867</guid><dc:creator>Aylar</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=87867</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2004/03/11/87867.aspx#comments</comments><description>&lt;P&gt;I finally got around to putting it together and getting it online! :)&lt;BR&gt;Only took me 4 months to ZIP it down and uploading &amp;lt;g&amp;gt;&lt;/P&gt;
&lt;P&gt;Well it's pretty much the same as 1.x, except we've added more support for different elements you might want to highlight. Some bugfixes and performance tweaking. Although the biggest addition are the two new engines - one for RTF output and one for XML output.&lt;BR&gt;There is also a new assembly - an extension of the basic component. This assembly currently only holds one class: &lt;STRONG&gt;CodeBlockHighlighter&lt;BR&gt;&lt;/STRONG&gt;This class is very handy if you want to highlight inline code elements, eg. code blocks in your article. If you are typing your articles using a control such RichTextBox or FreeTextBox, please set the &lt;STRONG&gt;InputIsHtmlEncoded&lt;/STRONG&gt; property to true. This will make sure the generated output is as expected.&lt;/P&gt;
&lt;P&gt;I am hoping to finish up the initial version of the component's homepage in the coming days, so you'll have a place to track the progress on upcoming verions, submit bugs and so on. - For now, simply add comments to this post, or contact me through the contact form if you have any feedback, bug reports or similar.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://highlight.aylarsolutions.com/downloads/AylarSolutions.Highlight-2.0.zip"&gt;http://highlight.aylarsolutions.com/downloads/AylarSolutions.Highlight-2.0.zip&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=87867" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>Markup Support in Online Demo</title><link>http://weblogs.asp.net/tjohansen/archive/2003/09/02/26033.aspx</link><pubDate>Mon, 01 Sep 2003 13:18:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:26033</guid><dc:creator>Aylar</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=26033</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2003/09/02/26033.aspx#comments</comments><description>&lt;p&gt;In case you haven't noticed already - the online demo of AylarSolutions.Highlight, now has a definition called ASPX. Yeah, you guessed it, this means it actually highlights markup now :)&lt;br /&gt;This one of the biggest new features in the next version of AylarSolutions.Highlight. Go check it out, and please give me some feedback!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aspalliance.com/aylar/highlight/"&gt;AylarSolutions.Highlight&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=26033" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>New build released</title><link>http://weblogs.asp.net/tjohansen/archive/2003/08/26/25247.aspx</link><pubDate>Mon, 25 Aug 2003 13:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:25247</guid><dc:creator>Aylar</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=25247</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2003/08/26/25247.aspx#comments</comments><description>&lt;p&gt;We (That's me and &lt;a href="http://www.anothereon.net/weblog/"&gt;Christian Nordbakk&lt;/a&gt;) have released a new build of AylarSolutions.Highlight. The download URL is the same as for the previous release, but for those who don't feel like digging through old posts for information, you can get it &lt;a href="http://aspalliance.com/aylar/highlight/aylarsolutions.highlight-1.0.zip"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The biggest change you will encounter, is the fact that the default location for the configuration file is now in the running application's \bin folder, and the config file has changed name from Languages.xml to Definitions.xml. This name change was done to make sure the component is as generic as possible.&lt;br /&gt;Another constructor for the Highlighter class has been added. This new constructor takes a XmlDocument as a parameter, which means you can eg. load the configuration from a MS SQL server into an XmlDocument object and pass it into the constructor. &lt;br /&gt;The last major change is that we changed the PerformCodeHighlight method to Highlight, and that we removed the OutputType parameter from the method. This parameter is now a class level property of the Highlighter class&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=25247" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>Support for markup languages</title><link>http://weblogs.asp.net/tjohansen/archive/2003/08/20/24688.aspx</link><pubDate>Wed, 20 Aug 2003 09:14:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:24688</guid><dc:creator>Aylar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=24688</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2003/08/20/24688.aspx#comments</comments><description>&lt;p&gt;The design phase for some of the new features you can expect to see in &lt;font color="#ff0000"&gt;AylarSolutions.Highlight 1.1&lt;/font&gt; is well under way.&lt;br /&gt;Perhaps one of the most exciting new features is built-in support for inline code. That means if you highlight an ASP.NET page, the component will highlight any code inside 'SCRIPT' blocks.&lt;br /&gt;Because we add support for this, you can of course also expect to see support for markup languages. This will be available through a new pattern type, which will most likely end up being called 'Markup' &lt;em&gt;(More detailed info to come)&lt;/em&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=24688" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>AylarSolutions.Highlight online demo</title><link>http://weblogs.asp.net/tjohansen/archive/2003/08/17/24299.aspx</link><pubDate>Sat, 16 Aug 2003 17:42:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:24299</guid><dc:creator>Aylar</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=24299</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2003/08/17/24299.aspx#comments</comments><description>&lt;p&gt;After getting a request for a sample of my component in use, I made this very simple demo:&lt;br /&gt;&lt;a href="http://aspalliance.com/aylar/highlight/tester.aspx"&gt;http://aspalliance.com/aylar/highlight/tester.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If you want the source for this, it can be found here:&lt;br /&gt;&lt;a href="http://aspalliance.com/aylar/highlight/tester.aspx.txt"&gt;http://aspalliance.com/aylar/highlight/tester.aspx.txt&lt;/a&gt;&lt;br /&gt;(Note: most browsers tries to parse this as actual xml, so do a 'View Source' or similar to get the actual code.)&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=24299" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item><item><title>AylarSolutions.Highlight 1.0 - Released</title><link>http://weblogs.asp.net/tjohansen/archive/2003/08/17/24291.aspx</link><pubDate>Sat, 16 Aug 2003 15:12:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:24291</guid><dc:creator>Aylar</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=24291</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2003/08/17/24291.aspx#comments</comments><description>&lt;p&gt;I have finally finished it! The first public release of &lt;font color="#ff0000"&gt;&lt;strong&gt;AylarSolutions.Highlight&lt;/strong&gt;&lt;/font&gt; (formerly known as CodeHighlight) is actually available. Go here to get it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aspalliance.com/aylar/highlight/aylarsolutions.highlight-1.0.zip"&gt;&lt;strong&gt;http://aspalliance.com/aylar/highlight/aylarsolutions.highlight-1.0.zip&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Currently there is one known bug and that is with keywords that contains a space, i.e. VB.net's 'End Class', which by definition isn't a word, but rather a collection of words. I have solved this by adding an 'End' keyword to the VB.NET language definition.&lt;/p&gt;
&lt;p&gt;Now, you are perhaps asking yourself, what is this &lt;strong&gt;&lt;font color="#ff0000"&gt;AylarSolutions.Highlight&lt;/font&gt;&lt;/strong&gt; thing Thomas is talking about, and what can it do for me?&lt;br /&gt;Well, &lt;strong&gt;&lt;font color="#ff0000"&gt;AylarSolutions.Highlight&lt;/font&gt;&lt;/strong&gt; is a .NET component written in C#, that allows you to very easily get HTML marked-up code. All you need to do is to pass your code source through &lt;em&gt;Highlighter.PerformCodeHighlight&lt;/em&gt; method and au voila, it spits out a marked-up version.&lt;/p&gt;
&lt;p&gt;Currently the language definition file (Languages.xml), contains definitions for C#, VB.NET, J# and T-SQL. You can easily extend this small definition collection, either by altering the XML file by hand, or by taking advantage of the Configurator class that is shipped with the component (Note: the &lt;em&gt;Configurator &lt;/em&gt;class is currently not working 100% due to some changes to the structure of the configuration file. This will be fixed in a couple of days).&lt;/p&gt;
&lt;p&gt;For the future, I have planned to add support to generate XML and RTF marked-up code, as well as release a web and windows configuration application to allow you to more easily configure the component's configuration file.&lt;/p&gt;
&lt;p&gt;Please give me some feedback on the control, either by adding comments to this post or emailing me at  &lt;font color="#a52a2a"&gt;aylar AT aspalliance DOT com&lt;/font&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font color="#ffa500"&gt;Update: I had forgotten to zip down the Languages.xml file, this is now fixed. This file should either be placed in the root of the application where you are running the component from, or specify its location using a web.config file or the ConfigurationFile property. &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=24291" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/AylarSolutions.Highlight/default.aspx">AylarSolutions.Highlight</category></item></channel></rss>