<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <author>Simon Schoeters</author>
    <content>&lt;p&gt;At work we use &lt;a href="http://www.textpad.com/" title="A text editor for Windows" class="ext"&gt;TextPad&lt;/a&gt; as a general purpose text editor for Windows. It's not even close to &lt;a href="http://macromates.com/" title="The missing editor for Mac OS X" class="ext"&gt;TextMate&lt;/a&gt; on Mac OS X but it's a welcome help in the Notepad world.&lt;/p&gt;

&lt;p&gt;TextPad uses syntax definition files for syntax highlighting. As I'm writing lots of &lt;a href="http://freemarker.org/" title="A Java templating engine library" class="ext"&gt;Freemarker&lt;/a&gt; template files for the moment I could use some color coding to make my life easier. Feel free to download the syntax file if you need some color in your Freemarker templates.&lt;/p&gt;

&lt;h3&gt;Installation&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Download the Freemarker &lt;a href="http://gist.github.com/279096" title="A Freemarker syntax definition file for TextPad"&gt;syntax definition file&lt;/a&gt; (&lt;a href="http://www.textpad.com/add-ons/files/syntax/freemarker.zip" title="Mirror on the official TextPad website" class="ext"&gt;mirror&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Save the file in the &amp;lsquo;Samples&amp;rsquo; subfolder in your TextPad installation folder.&lt;/li&gt;
&lt;li&gt;Open TextPad and choose &amp;lsquo;Configure &amp;rarr; New Document Class...&amp;rsquo;.&lt;/li&gt;
&lt;li&gt;Specify a name for the class and the extension (*.ftl in our case) and&lt;/li&gt;
&lt;li&gt;enable syntax definition highlighting and choose the freemarker.syn from the drop down list.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you now open a new Freemarker template file you should see it nicely color coded.&lt;/p&gt;</content>
    <created-at type="datetime">2008-01-03T17:39:47+01:00</created-at>
    <id type="integer">14</id>
    <location-id type="integer">3</location-id>
    <permalink>freemarker-syntax-textpad</permalink>
    <title>Freemarker syntax highlighting for TextPad</title>
    <updated-at type="datetime">2010-01-21T16:08:59+01:00</updated-at>
  </post>
</posts>
