<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<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">
	<channel>
		<title>pnotepad.org forums &#187; Topic: schemedef comment</title>
		<link>http://pnotepad.org/forums/topic/596</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 06:42:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/topic/596" rel="self" type="application/rss+xml" />

		<item>
                        <title>schemedef comment (simon)</title>
			<link>http://pnotepad.org/forums/topic/596#post-2148</link>
			<pubDate>Thu, 04 Jun 2009 12:44:06 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2148@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Currently this isn't supported, as we check for line comments before block comments. You'd need a bit more logic to try to greedily match the block comment first. The code for the lexer is available, if you want to try and make this work.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>schemedef comment (Nux)</title>
			<link>http://pnotepad.org/forums/topic/596#post-2126</link>
			<pubDate>Mon, 01 Jun 2009 09:04:02 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">2126@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Strange language you have there... I think all languages I kno give precedence to inline comments example for C:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
 if (something) // blah /* still in commment&#60;br /&#62;
   not_in_comment();&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So my guess is you should write your own lexer or find one that gives precedence to block comments.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>schemedef comment (arendedwinter)</title>
			<link>http://pnotepad.org/forums/topic/596#post-2124</link>
			<pubDate>Sun, 31 May 2009 11:09:16 +0000</pubDate>
			<dc:creator>arendedwinter</dc:creator>
			<guid isPermaLink="false">2124@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm having some trouble with a schemedef I'm creating.  The language uses -- for comment lines, and --[[text]] for comment blocks.  However the block comment is not being styled (I believe it is because they both start with --.  I tried the &#38;quot;contains&#38;quot; tag but that seemed to only crash pn).  The code I'm using for the comments is:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;comments&#38;gt;&#60;br /&#62;
  &#38;lt;line start=&#38;quot;--&#38;quot; /&#38;gt;&#60;br /&#62;
  &#38;lt;block start=&#38;quot;--[[&#38;quot; end=&#38;quot;]]&#38;quot; /&#38;gt;&#60;br /&#62;
&#38;lt;/comments&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Can anyone advise what I can do to get both comment style working?  I'm using v2.0.9.970-devel.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

