<?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: Notepad++ User Defined Language file for MDX Syntax Highlighting</title>
	<atom:link href="http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/feed/" rel="self" type="application/rss+xml" />
	<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/</link>
	<description>Thoughts and Code from Tim Laqua</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:45:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: ricardo</title>
		<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/comment-page-1/#comment-2667</link>
		<dc:creator>ricardo</dc:creator>
		<pubDate>Fri, 26 Mar 2010 02:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=95#comment-2667</guid>
		<description>Yeah that works. There are not that many tags that have to be closed, so it won&#039;t clutter things too much. It&#039;s probably the best solution, so thanks for the feedback.

What confuses me though is that in your example above you show the exact same setup. You have a forward slash as an operator, and also as the start of two kinds of comments. Does this cause problems for you? Just curious if mine&#039;s different.</description>
		<content:encoded><![CDATA[<p>Yeah that works. There are not that many tags that have to be closed, so it won&#8217;t clutter things too much. It&#8217;s probably the best solution, so thanks for the feedback.</p>
<p>What confuses me though is that in your example above you show the exact same setup. You have a forward slash as an operator, and also as the start of two kinds of comments. Does this cause problems for you? Just curious if mine&#8217;s different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/comment-page-1/#comment-2666</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 26 Mar 2010 01:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=95#comment-2666</guid>
		<description>Yeah, just define the closing tags as keywords and take the / out of operators.  The following node works for your example for the if and loop blocks.
        &lt;KeywordLists&gt;
            &lt;Keywords name=&quot;Delimiters&quot;&gt;&apos;00&apos;00&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Folder+&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Folder-&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Operators&quot;&gt;- ! &amp; ( ) , ; ? [ ] &#124; + &lt; = &gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Comment&quot;&gt;1/* 2*/ 0//&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words1&quot;&gt;var local include return map array pair true false fail abort email_send action_param valid_email string_replaceregexp redirect_url loop_count&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words2&quot;&gt;$ #&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words3&quot;&gt;if /if else protect iterate loop /loop define_tag handle_error&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words4&quot;&gt;trim size substring insert find input removeall&lt;/Keywords&gt;
        &lt;/KeywordLists&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, just define the closing tags as keywords and take the / out of operators.  The following node works for your example for the if and loop blocks.<br />
        &lt;KeywordLists&gt;<br />
            &lt;Keywords name=&quot;Delimiters&quot;&gt;&amp;apos;00&amp;apos;00&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Folder+&quot;&gt;&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Folder-&quot;&gt;&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Operators&quot;&gt;- ! &amp;amp; ( ) , ; ? [ ] | + &amp;lt; = &amp;gt;&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Comment&quot;&gt;1/* 2*/ 0//&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Words1&quot;&gt;var local include return map array pair true false fail abort email_send action_param valid_email string_replaceregexp redirect_url loop_count&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Words2&quot;&gt;$ #&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Words3&quot;&gt;if /if else protect iterate loop /loop define_tag handle_error&lt;/Keywords&gt;<br />
            &lt;Keywords name=&quot;Words4&quot;&gt;trim size substring insert find input removeall&lt;/Keywords&gt;<br />
        &lt;/KeywordLists&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ricardo</title>
		<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/comment-page-1/#comment-2665</link>
		<dc:creator>ricardo</dc:creator>
		<pubDate>Thu, 25 Mar 2010 20:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=95#comment-2665</guid>
		<description>The language is called LassoScript or Lasso, it&#039;s a proprietary middleware for tying together web pages, databases, and so on, and has its own scripting syntax. Here are some short pieces of code that shows the problem:

// This should be a comment
/* This should also be a comment */

// Simple conditional statement
if($condition == &#039;true&#039;;
	&#039;Do this thing&#039;;
/if;

// Simple looping contstruct
loop(3);
	&#039;Do this three times&#039;;
/loop;


The forward slash is used for comments, but also to signify a closing tag. This causes a problem for Notepad++.

Here are some links to sample files. One is a code sample. One is my Notepad++ syntax file. It is not filled in with all the possible keywords, since I have just started to get it going. The last file is a small screencap of what my Notepad++ does with those two files mentioned. The links below are temporary, I hope this doesn&#039;t mess up your web page.

http://members.cox.net/mikeoscrope/temp/userDefineLang.xml
http://members.cox.net/mikeoscrope/temp/99_bottles_of_root_beer.lasso
http://members.cox.net/mikeoscrope/temp/notepad++_result.png

http://en.wikipedia.org/wiki/Lasso_programming_language</description>
		<content:encoded><![CDATA[<p>The language is called LassoScript or Lasso, it&#8217;s a proprietary middleware for tying together web pages, databases, and so on, and has its own scripting syntax. Here are some short pieces of code that shows the problem:</p>
<p>// This should be a comment<br />
/* This should also be a comment */</p>
<p>// Simple conditional statement<br />
if($condition == &#8216;true&#8217;;<br />
	&#8216;Do this thing&#8217;;<br />
/if;</p>
<p>// Simple looping contstruct<br />
loop(3);<br />
	&#8216;Do this three times&#8217;;<br />
/loop;</p>
<p>The forward slash is used for comments, but also to signify a closing tag. This causes a problem for Notepad++.</p>
<p>Here are some links to sample files. One is a code sample. One is my Notepad++ syntax file. It is not filled in with all the possible keywords, since I have just started to get it going. The last file is a small screencap of what my Notepad++ does with those two files mentioned. The links below are temporary, I hope this doesn&#8217;t mess up your web page.</p>
<p><a href="http://members.cox.net/mikeoscrope/temp/userDefineLang.xml" rel="nofollow">http://members.cox.net/mikeoscrope/temp/userDefineLang.xml</a><br />
<a href="http://members.cox.net/mikeoscrope/temp/99_bottles_of_root_beer.lasso" rel="nofollow">http://members.cox.net/mikeoscrope/temp/99_bottles_of_root_beer.lasso</a><br />
<a href="http://members.cox.net/mikeoscrope/temp/notepad++_result.png" rel="nofollow">http://members.cox.net/mikeoscrope/temp/notepad++_result.png</a></p>
<p><a href="http://en.wikipedia.org/wiki/Lasso_programming_language" rel="nofollow">http://en.wikipedia.org/wiki/Lasso_programming_language</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/comment-page-1/#comment-2662</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 25 Mar 2010 02:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=95#comment-2662</guid>
		<description>Can you include a link to your UserLang node and a sample of whatever language this is for?</description>
		<content:encoded><![CDATA[<p>Can you include a link to your UserLang node and a sample of whatever language this is for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ricardo</title>
		<link>http://timlaqua.com/2009/03/notepad-user-defined-language-file-for-mdx-syntax-highlighting/comment-page-1/#comment-2659</link>
		<dc:creator>ricardo</dc:creator>
		<pubDate>Wed, 24 Mar 2010 17:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=95#comment-2659</guid>
		<description>Thank you for sharing this information. I am trying to implement a very similar syntax highlighting with Notepad++ but I get a strange error. My code is almost exactly like yours, but here&#039;s what happens:

Using forward slash as an operator makes the forward slash NOT WORK as the start of a comment. My configuration is just like yours, but the comments don&#039;t work. Every use of the forward slash is interpreted as an operator.

Does this happen in your Notepad++?</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this information. I am trying to implement a very similar syntax highlighting with Notepad++ but I get a strange error. My code is almost exactly like yours, but here&#8217;s what happens:</p>
<p>Using forward slash as an operator makes the forward slash NOT WORK as the start of a comment. My configuration is just like yours, but the comments don&#8217;t work. Every use of the forward slash is interpreted as an operator.</p>
<p>Does this happen in your Notepad++?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
