<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A syntax highlighting TextBlock for Silverlight 3</title>
	<atom:link href="http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Tue, 07 Sep 2010 00:20:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Walt</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2673</link>
		<dc:creator>Walt</dc:creator>
		<pubDate>Sun, 23 May 2010 05:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2673</guid>
		<description>This only seems to work with the C# language.  whenever I try using other languages I get An unhandled exception of type ‘System.StackOverflowException’ occurred in mscorlib.dll”</description>
		<content:encoded><![CDATA[<p>This only seems to work with the C# language.  whenever I try using other languages I get An unhandled exception of type ‘System.StackOverflowException’ occurred in mscorlib.dll”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Horbovanu</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2626</link>
		<dc:creator>Vladimir Horbovanu</dc:creator>
		<pubDate>Thu, 06 May 2010 17:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2626</guid>
		<description>I made a demo about creating a simple syntax highlighting TextBox in Silverlight, taking advantage of templates and databinding (the MVVM way). Editing works and the syntax parser can be replaced with a faster / complete one. You can find it here: http://www.vladhorby.com/Blog/post/2010/05/05/Syntax-Highlighting-TextBox-in-Silverlight-using-MVVM.aspx</description>
		<content:encoded><![CDATA[<p>I made a demo about creating a simple syntax highlighting TextBox in Silverlight, taking advantage of templates and databinding (the MVVM way). Editing works and the syntax parser can be replaced with a faster / complete one. You can find it here: <a href="http://www.vladhorby.com/Blog/post/2010/05/05/Syntax-Highlighting-TextBox-in-Silverlight-using-MVVM.aspx" rel="nofollow">http://www.vladhorby.com/Blog/post/2010/05/05/Syntax-Highlighting-TextBox-in-Silverlight-using-MVVM.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links (3/14/2010) &#171; Steve Pietrek-Everything SharePoint/Silverlight</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2292</link>
		<dc:creator>Links (3/14/2010) &#171; Steve Pietrek-Everything SharePoint/Silverlight</dc:creator>
		<pubDate>Mon, 15 Mar 2010 01:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2292</guid>
		<description>[...] A syntax highlighting TextBlock for Silverlight 3 [...]</description>
		<content:encoded><![CDATA[<p>[...] A syntax highlighting TextBlock for Silverlight 3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop &#8211; March 10, 2010 &#124; Alvin Ashcraft&#39;s Morning Dew</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2282</link>
		<dc:creator>Dew Drop &#8211; March 10, 2010 &#124; Alvin Ashcraft&#39;s Morning Dew</dc:creator>
		<pubDate>Wed, 10 Mar 2010 13:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2282</guid>
		<description>[...] A syntax highlighting TextBlock for Silverlight 3 (Jeff Wilcox) [...]</description>
		<content:encoded><![CDATA[<p>[...] A syntax highlighting TextBlock for Silverlight 3 (Jeff Wilcox) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morten</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2281</link>
		<dc:creator>Morten</dc:creator>
		<pubDate>Tue, 09 Mar 2010 16:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2281</guid>
		<description>Jack: Duh! I should learn to read blogposts more thoroughly before commenting :)</description>
		<content:encoded><![CDATA[<p>Jack: Duh! I should learn to read blogposts more thoroughly before commenting <img src='http://www.jeff.wilcox.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Bond</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2279</link>
		<dc:creator>Jack Bond</dc:creator>
		<pubDate>Tue, 09 Mar 2010 02:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2279</guid>
		<description>@Morton

It can&#039;t be based on TextBox because it has no formatting. As he pointed out, Silverlight 4&#039;s richtextblock should be the best of both worlds. Highlightable/Copyable, formattable, inputable.</description>
		<content:encoded><![CDATA[<p>@Morton</p>
<p>It can&#8217;t be based on TextBox because it has no formatting. As he pointed out, Silverlight 4&#8242;s richtextblock should be the best of both worlds. Highlightable/Copyable, formattable, inputable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morten</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2278</link>
		<dc:creator>Morten</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2278</guid>
		<description>Btw, I&#039;m getting &quot;An unhandled exception of type &#039;System.StackOverflowException&#039; occurred in mscorlib.dll&quot; when using Xaml or Xml as SourceLanguage. line 59. I don&#039;t think you meant to be calling SetValue again in OnSourceLanguagePropertyChanged. That causes an infinite loop. Also the if condition should probably be using &amp;&amp; instead of &#124;&#124;.
Lastly, this check a few lines futher down:
    if (e.NewValue != e.OldValue)
shouldn&#039;t really be necessary. They are always different when that method is called (calling setvalue with the same value does not trigger the changedhandler to be called AFAIK).</description>
		<content:encoded><![CDATA[<p>Btw, I&#8217;m getting &#8220;An unhandled exception of type &#8216;System.StackOverflowException&#8217; occurred in mscorlib.dll&#8221; when using Xaml or Xml as SourceLanguage. line 59. I don&#8217;t think you meant to be calling SetValue again in OnSourceLanguagePropertyChanged. That causes an infinite loop. Also the if condition should probably be using &amp;&amp; instead of ||.<br />
Lastly, this check a few lines futher down:<br />
    if (e.NewValue != e.OldValue)<br />
shouldn&#8217;t really be necessary. They are always different when that method is called (calling setvalue with the same value does not trigger the changedhandler to be called AFAIK).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghuraman K</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2277</link>
		<dc:creator>Raghuraman K</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2277</guid>
		<description>Good Idea !!! Thank you for posting !!!</description>
		<content:encoded><![CDATA[<p>Good Idea !!! Thank you for posting !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morten</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2276</link>
		<dc:creator>Morten</dc:creator>
		<pubDate>Mon, 08 Mar 2010 21:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2276</guid>
		<description>Sweet!
Would be nice if it inherited from TextBox instead, so the user can select parts of the code and copy paste it (I gather this is main reason for having this control).</description>
		<content:encoded><![CDATA[<p>Sweet!<br />
Would be nice if it inherited from TextBox instead, so the user can select parts of the code and copy paste it (I gather this is main reason for having this control).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Einar Ingebrigtsen</title>
		<link>http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/comment-page-1/#comment-2274</link>
		<dc:creator>Einar Ingebrigtsen</dc:creator>
		<pubDate>Mon, 08 Mar 2010 20:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2010/03/syntax-highlighting-text-block/#comment-2274</guid>
		<description>Great stuff. Looking good. 

I was fiddling a couple of months ago with a similar control, but stopped after a heap of problems with it. 

Now I can get syntax highlighting in my Balder samplebrowser.. :)</description>
		<content:encoded><![CDATA[<p>Great stuff. Looking good. </p>
<p>I was fiddling a couple of months ago with a similar control, but stopped after a heap of problems with it. </p>
<p>Now I can get syntax highlighting in my Balder samplebrowser.. <img src='http://www.jeff.wilcox.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
