<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Robert Horvick &#187; Windows</title>
	<atom:link href="http://www.roberthorvick.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.roberthorvick.com</link>
	<description>Things my wife doesn&#039;t want on the family blog...</description>
	<lastBuildDate>Sat, 08 May 2010 23:27:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Syntax Highlighing for Erlang in NotePad++</title>
		<link>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/</link>
		<comments>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 18:02:42 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Erlang]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.roberthorvick.com/?p=64</guid>
		<description><![CDATA[Update: The definition has been updated to include support for atoms, variables and function names as well as additional file extensions.  Screen shot and downloadable content have been updated.
Thus far I&#8217;ve done all of my Erlang development on Fedora using vim or KWrite (which does a decent job in Ruby mode).
But today I found myself [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: The definition has been updated to include support for atoms, variables and function names as well as additional file extensions.  Screen shot and downloadable content have been updated.</em></p>
<p>Thus far I&#8217;ve done all of my Erlang development on Fedora using vim or KWrite (which does a decent job in Ruby mode).</p>
<p>But today I found myself on a windows box and wanted a basic syntax highlighting editor for Erlang that was free and worked on Windows.  Oh &#8211; and not Eclipse+Erlide.  I wanted something small and fast.</p>
<p>I grabbed the &#8220;<a href="http://en.wikipedia.org/wiki/Free_as_in_beer">free as in beer</a>&#8221; and &#8220;<a href="http://en.wikipedia.org/wiki/Free_as_in_beer#.22Free_as_in_beer.22_vs_.22Free_as_in_speech.22">free as in speech</a>&#8221; editor <a href="http://notepad-plus.sourceforge.net">NotePad++</a> and created a simple syntax file that is a bit hokey but will serve my needs fine.</p>
<p>Here&#8217;s a screen shot &#8230;<br />
<img class="aligncenter size-medium wp-image-65" title="Windows Erlang Syntax Highlighting Editor" src="http://www.roberthorvick.com/wp-content/uploads/2009/07/screenshot1.jpg" alt="Windows Erlang Syntax Highlighting Editor" width="550" height="449" /></p>
<p>NotePad++ has pretty weak syntax highlighting but was sufficent to do most of what I wanted.  Some regex based rules would make this a more robust.</p>
<p>Highlighted entities include</p>
<ul>
<li>Erlang reserved words (and named operators)</li>
<li>Variables</li>
<li>Atoms</li>
<li>function names (same coloring as atoms)</li>
<li>Operators</li>
<li>Comments</li>
<li>Kernal, stdlib, mnesia and odbc modules.</li>
<li>Support for *.erl, *.hrl and *.htp extentions</li>
</ul>
<p>I&#8217;ve probably missed several things.</p>
<p>Looks a lot better than nothing and it took all of <span style="text-decoration: line-through;">10</span> 15 minutes.</p>
<p>If you are using NotePad++ here is the file:</p>
<p><a href="http://www.roberthorvick.com/wp-content/uploads/2009/07/erlangSyntaxDefinition.zip">http://www.roberthorvick.com/wp-content/uploads/2009/07/erlangSyntaxDefinition.zip</a></p>
<p>And here are the instructions on how to install it:</p>
<p><a href="http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing">http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing</a></p>
<p>And here&#8217;s the instructions on modifying or creating your own:</p>
<p><a href="http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages">http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages</a></p>



Share and Enjoy:


	<a rel="nofollow" id="print" href="javascript:window.location='http%3A%2F%2Fwww.printfriendly.com%2Fprint%3Furl%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Bpartner%3Dsociable';" title="Print this article!"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitter" href="javascript:window.location='http%3A%2F%2Ftwitter.com%2Fhome%3Fstatus%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B%2520-%2520http%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F';" title="Twitter"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg" href="javascript:window.location='http%3A%2F%2Fdigg.com%2Fsubmit%3Fphase%3D2%26amp%3Burl%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Btitle%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B%26amp%3Bbodytext%3DUpdate%253A%2520The%2520definition%2520has%2520been%2520updated%2520to%2520include%2520support%2520for%2520atoms%252C%2520variables%2520and%2520function%2520names%2520as%2520well%2520as%2520additional%2520file%2520extensions.%2520%25C2%25A0Screen%2520shot%2520and%2520downloadable%2520content%2520have%2520been%2520updated.%250D%250A%250D%250AThus%2520far%2520I%2527ve%2520done%2520all%2520of%2520my%2520Erlang%2520development%2520on%2520';" title="Digg"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="reddit" href="javascript:window.location='http%3A%2F%2Freddit.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Btitle%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B';" title="Reddit"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us" href="javascript:window.location='http%3A%2F%2Fdelicious.com%2Fpost%3Furl%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Btitle%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B%26amp%3Bnotes%3DUpdate%253A%2520The%2520definition%2520has%2520been%2520updated%2520to%2520include%2520support%2520for%2520atoms%252C%2520variables%2520and%2520function%2520names%2520as%2520well%2520as%2520additional%2520file%2520extensions.%2520%25C2%25A0Screen%2520shot%2520and%2520downloadable%2520content%2520have%2520been%2520updated.%250D%250A%250D%250AThus%2520far%2520I%2527ve%2520done%2520all%2520of%2520my%2520Erlang%2520development%2520on%2520';" title="del.icio.us"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook" href="javascript:window.location='http%3A%2F%2Fwww.facebook.com%2Fshare.php%3Fu%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Bt%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B';" title="Facebook"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google" href="javascript:window.location='http%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26amp%3Bbkmk%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Btitle%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B%26amp%3Bannotation%3DUpdate%253A%2520The%2520definition%2520has%2520been%2520updated%2520to%2520include%2520support%2520for%2520atoms%252C%2520variables%2520and%2520function%2520names%2520as%2520well%2520as%2520additional%2520file%2520extensions.%2520%25C2%25A0Screen%2520shot%2520and%2520downloadable%2520content%2520have%2520been%2520updated.%250D%250A%250D%250AThus%2520far%2520I%2527ve%2520done%2520all%2520of%2520my%2520Erlang%2520development%2520on%2520';" title="Google Bookmarks"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="stumbleupon" href="javascript:window.location='http%3A%2F%2Fwww.stumbleupon.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.roberthorvick.com%252F2009%252F07%252F08%252Fsyntax-highlighing-for-erlang-in-notepad%252F%26amp%3Btitle%3DSyntax%2520Highlighing%2520for%2520Erlang%2520in%2520NotePad%252B%252B';" title="StumbleUpon"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
