<?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; Tag: comment - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/comment</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 07:44:45 +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/tags/comment" rel="self" type="application/rss+xml" />

		<item>
                        <title>bug: comment after end subroutine (fortran 95) (simon)</title>
			<link>http://pnotepad.org/forums/topic/1115#post-3096</link>
			<pubDate>Mon, 22 Feb 2010 12:03:15 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">3096@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, I've been able to reproduce this now, it appears to be a bug in ctags - ctags just sticks in a tight loop when trying to find tags in this file. You can at least end the ctags process and this will unblock PN until we work out how to fix it.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>bug: comment after end subroutine (fortran 95) (lgriffiths)</title>
			<link>http://pnotepad.org/forums/topic/1115#post-3091</link>
			<pubDate>Sat, 20 Feb 2010 03:14:55 +0000</pubDate>
			<dc:creator>lgriffiths</dc:creator>
			<guid isPermaLink="false">3091@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;sure i'll upload one now. i'm running it on v2.0.10.1010 portable edition.&#60;/p&#62;
&#60;p&#62;let &#38;gt; represent a tab and \n a new line, the file is, without any other white space:&#60;br /&#62;
[code]&#60;br /&#62;
end subroutine\n&#60;br /&#62;
\n&#60;br /&#62;
&#38;gt;!comment, not followed by new line&#60;br /&#62;
[/code]&#60;br /&#62;
**Interestingly the following is fine:&#60;br /&#62;
[code]&#60;br /&#62;
end subroutine\n&#60;br /&#62;
&#38;gt;!comment followed by a new line\n&#60;br /&#62;
[\code]
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>bug: comment after end subroutine (fortran 95) (simon)</title>
			<link>http://pnotepad.org/forums/topic/1115#post-3086</link>
			<pubDate>Fri, 19 Feb 2010 15:32:23 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">3086@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, I don't see this with the code you've placed above, tried putting the tab all over the place and saving. Could you perhaps attach a file that reproduces the problem to an issue here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://code.google.com/p/pnotepad/issues/entry&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/pnotepad/issues/entry&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'll see if I can reproduce that way. Finally, what version of PN are you using?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>bug: comment after end subroutine (fortran 95) (lgriffiths)</title>
			<link>http://pnotepad.org/forums/topic/1115#post-3084</link>
			<pubDate>Fri, 19 Feb 2010 15:13:53 +0000</pubDate>
			<dc:creator>lgriffiths</dc:creator>
			<guid isPermaLink="false">3084@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Using fortran 95 syntaxing, the following crashes pn on either save, or open. Its the final tabbed comment which seems to be the issue.&#60;br /&#62;
Can anyone else confirm this?&#60;/p&#62;
&#60;p&#62;!***** this line is not part of the code&#60;/p&#62;
&#60;p&#62;!ANYTHING ABOVE HERE IS FINE&#60;br /&#62;
END SUBROUTINE&#60;/p&#62;
&#60;p&#62;    !NOTE THE BLANK SPACE ABOVE, THIS COMMENT IS TABBED IN.&#60;/p&#62;
&#60;p&#62;!***** this line is not part of the code&#60;/p&#62;
&#60;p&#62;EDIT: the tab in the comment line doesnt seem to show up on my post. But it is supposed to be there, doesnt crash if i remove the tab.
&#60;/p&#62;</description>
		</item>
		<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>
		<item>
                        <title>ASP Comment bug (Nux)</title>
			<link>http://pnotepad.org/forums/topic/529#post-1861</link>
			<pubDate>Mon, 23 Feb 2009 11:56:39 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">1861@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I believe this is not a bug on PN side - you shouldn't use inline comments in such context as inline comments usually mean: start comment from some character and stop at the end of line. This is how it works in most processors I know.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>ASP Comment bug (asdruble)</title>
			<link>http://pnotepad.org/forums/topic/529#post-1835</link>
			<pubDate>Fri, 13 Feb 2009 17:18:13 +0000</pubDate>
			<dc:creator>asdruble</dc:creator>
			<guid isPermaLink="false">1835@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ive searched for, but havent found any post of this o the forum.&#60;/p&#62;
&#60;p&#62;Anywayz, the thing is that, in HTML + ASP development, if i have this kind of code:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
HTML&#60;br /&#62;
&#38;lt;%aspCode 'aspComment %&#38;gt;&#60;br /&#62;
MORE HTML&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;pNotepad will render the ASP closing tag &#38;quot;%&#38;gt;&#38;quot; as a comment and will not understand that the ASP has been closed, marking up the rest of HTML, JS, CSS or whatever in ASP Schema.&#60;/p&#62;
&#60;p&#62;Is there a way around this (except for breaking line, of course)?&#60;br /&#62;
I dont remember this having been always like this in much older versions.&#60;/p&#62;
&#60;p&#62;BTW, i would like to make a suggestion (though i know here's not the place) to make CTRL+D duplicate a selected block, instead of only one line!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment shortcut (kamil)</title>
			<link>http://pnotepad.org/forums/topic/273#post-988</link>
			<pubDate>Wed, 22 Aug 2007 14:06:38 +0000</pubDate>
			<dc:creator>kamil</dc:creator>
			<guid isPermaLink="false">988@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks Simon! I'm working in perl/c, and if I come across something buggy, I'll edit the scheme file and get back to you. &#60;/p&#62;
&#60;p&#62;Once again, great work!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment shortcut (simon)</title>
			<link>http://pnotepad.org/forums/topic/273#post-978</link>
			<pubDate>Fri, 17 Aug 2007 15:36:55 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">978@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Already in the current development builds, there's no keyboard shortcut by default yet but you can set one in the options dialog.&#60;/p&#62;
&#60;p&#62;It depends on the scheme you're using as to whether comments support has been added yet. If it's not working in your language then please edit the scheme file and send me the changes for inclusion in the future release. Look at the cpp scheme for examples, ask if you need more details.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment shortcut (kamil)</title>
			<link>http://pnotepad.org/forums/topic/273#post-977</link>
			<pubDate>Fri, 17 Aug 2007 15:14:28 +0000</pubDate>
			<dc:creator>kamil</dc:creator>
			<guid isPermaLink="false">977@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, just started using pnotepad, and it's pretty much revolutionizing how I edit files in windows. &#60;/p&#62;
&#60;p&#62;Just one thing though: it would be really helpful if it were possible to comment out a line (or a selection of lines) using a keyboard shortcut. Is there such a feature in the works?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (wvdirks)</title>
			<link>http://pnotepad.org/forums/topic/21#post-86</link>
			<pubDate>Fri, 17 Feb 2006 13:34:45 +0000</pubDate>
			<dc:creator>wvdirks</dc:creator>
			<guid isPermaLink="false">86@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hey, thanks Simon.&#60;/p&#62;
&#60;p&#62;For some reason I get the best results when it's set to &#34; c &#34;. It just doesn't match when it's at the beginning of a line or if the previous char is alphanumeric.&#60;/p&#62;
&#60;p&#62;Next... single and double quote strings&#60;/p&#62;
&#60;p&#62;PN2 is so cool.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (simon)</title>
			<link>http://pnotepad.org/forums/topic/21#post-85</link>
			<pubDate>Fri, 17 Feb 2006 11:06:08 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">85@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ah, it looks like the lexer is looking for characters that might be part of a word before looking for comment delimiters. Currently, what you're looking for won't work because of this and the two character issue.&#60;/p&#62;
&#60;p&#62;The three character thing will be the easiest fix, trying to work out whether an alphanumeric character is a word or a comment is a bit more complex.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (simon)</title>
			<link>http://pnotepad.org/forums/topic/21#post-84</link>
			<pubDate>Fri, 17 Feb 2006 11:03:23 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">84@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Doh, missed your reply. It doesn't work at all if it starts in c? Hmm. I'll have a go later.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (simon)</title>
			<link>http://pnotepad.org/forums/topic/21#post-83</link>
			<pubDate>Fri, 17 Feb 2006 11:02:48 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">83@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Currently comment delimiters can be up to two characters long. Therefore, if your comment line is defined as:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;comments&#38;gt;&#60;br /&#62;
    &#38;lt;line start=&#38;quot;c &#38;quot; /&#38;gt;&#60;br /&#62;
&#38;lt;/comments&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;then that should work, although obviously it may well match words that end in c? Have a go and let me know if it doesn't work. It shouldn't be too hard to increase the comment delimiter length to three.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (wvdirks)</title>
			<link>http://pnotepad.org/forums/topic/21#post-82</link>
			<pubDate>Fri, 17 Feb 2006 10:48:26 +0000</pubDate>
			<dc:creator>wvdirks</dc:creator>
			<guid isPermaLink="false">82@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I should add that if start=&#34; c &#34; then it only works if there's two spaces between it and the previous character. It also works if the last character is a )&#60;/p&#62;
&#60;p&#62;If I change start=&#34;c &#34; then it doesn't work at all.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Comment in schemedef (wvdirks)</title>
			<link>http://pnotepad.org/forums/topic/21#post-81</link>
			<pubDate>Fri, 17 Feb 2006 09:33:31 +0000</pubDate>
			<dc:creator>wvdirks</dc:creator>
			<guid isPermaLink="false">81@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm experimenting with making my own schemedef, using the vhdl as a template. The language (Consistent Changes &#60;a href=&#34;http://www.sil.org/computing/catalog/show_software.asp?id=4)&#34; rel=&#34;nofollow&#34;&#62;http://www.sil.org/computing/catalog/show_software.asp?id=4)&#60;/a&#62; uses &#34; c &#34; to initiate a comment in the code. The spaces around the c are important. The preceeding space isn't necessary if it's at the beginning of a line. The language doesn't support continued comments. An end of line terminates the comment. In the schemedef file I changed:&#60;/p&#62;
&#60;p&#62;&#38;lt;comments&#38;gt;&#60;br /&#62;
  &#38;lt;line start=&#34;--&#34; continuation=&#34;\&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;/comments&#38;gt;&#60;/p&#62;
&#60;p&#62;to be:&#60;/p&#62;
&#60;p&#62;&#38;lt;comments&#38;gt;&#60;br /&#62;
  &#38;lt;line start=&#34; c &#34; /&#38;gt;&#60;br /&#62;
&#38;lt;/comments&#38;gt;&#60;/p&#62;
&#60;p&#62;but it doesn't work. If I take out the space then anything starting with &#34;c&#34; is matched. The space after the c is needed. Any ideas how I can make it work?&#60;/p&#62;
&#60;p&#62;I have many more questions about schemedef but I'll start with this one. :)&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

