<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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 Tag: lexer - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/lexer</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Fri, 30 Jul 2010 01:11:01 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</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/lexer" rel="self" type="application/rss+xml" />

		<item>
			<title>Space in keywords (simon)</title>
			<link>http://pnotepad.org/forums/topic/246#post-914</link>
			<pubDate>Thu, 19 Jul 2007 13:43:32 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">914@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi John, I've never tried to do this so I'm not sure. You'd have to write a proper lexer from scratch (using C++) rather than trying to use the built-in lexer which doesn't support this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PHP Lexer (deadimp)</title>
			<link>http://pnotepad.org/forums/topic/249#post-903</link>
			<pubDate>Sat, 07 Jul 2007 22:48:41 +0000</pubDate>
			<dc:creator>deadimp</dc:creator>
			<guid isPermaLink="false">903@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Just noticed something: There's already support for the short tags, but for some reason, it doesn't like this particular setup: &#60;code&#62;&#38;lt;?=src(&#38;#39;...&#38;#39;)?&#38;gt;&#60;/code&#62;. If I change 'src' to something else, it will highlight, but otherwise it won't. Odd...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PHP Lexer (deadimp)</title>
			<link>http://pnotepad.org/forums/topic/249#post-902</link>
			<pubDate>Sat, 07 Jul 2007 19:14:24 +0000</pubDate>
			<dc:creator>deadimp</dc:creator>
			<guid isPermaLink="false">902@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;A couple of things for PHP:&#60;br /&#62;
&#38;gt; Could you add the keywords &#60;code&#62;protected private public inherits&#60;/code&#62; by default?&#60;br /&#62;
&#38;gt; Could you enable PHP highlighting for short tags? Ex. &#60;code&#62;&#38;lt;?=$value?&#38;gt;&#60;/code&#62;&#60;br /&#62;
&#38;gt; Inline string members (of an object) aren't highlighted. Ex. &#60;code&#62;\&#38;quot;$obj-&#38;gt;member\&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;EDIT: Gah! bbpress is escaping my quotes!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Space in keywords (jcbarton)</title>
			<link>http://pnotepad.org/forums/topic/246#post-891</link>
			<pubDate>Tue, 03 Jul 2007 10:57:34 +0000</pubDate>
			<dc:creator>jcbarton</dc:creator>
			<guid isPermaLink="false">891@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Been trying to find an editor that allows custom syntax - where a keyword can be defined as a string - rather than just a word.&#60;/p&#62;
&#60;p&#62;Was about to write a lexer for scintilla, and use notepad++, but then found PN and prefer the interface!!&#60;/p&#62;
&#60;p&#62;So, before I embark on creating a lexer - is it actually possible in the existing lexers to define keywords with spaces in?&#60;/p&#62;
&#60;p&#62;Many thanks....&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>schemedef and lexer (simon)</title>
			<link>http://pnotepad.org/forums/topic/155#post-565</link>
			<pubDate>Wed, 03 Jan 2007 15:34:28 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">565@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, your lexer name should be &#34;euphoria&#34;, it should match the name in the schemedef bit - hope that helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>schemedef and lexer (TapaniTalvitie)</title>
			<link>http://pnotepad.org/forums/topic/155#post-564</link>
			<pubDate>Mon, 01 Jan 2007 19:47:08 +0000</pubDate>
			<dc:creator>TapaniTalvitie</dc:creator>
			<guid isPermaLink="false">564@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Thanks for the great editor :) Here's few questions concerning the schemedef and lexer:&#60;/p&#62;
&#60;p&#62;1. I'm creating schemedef for the Euphoria programming language. What is the lexer and how can I make my own? &#60;/p&#62;
&#60;p&#62;2. I used vhdl lexer but for some reason the following tags don't have any effect. Why?&#60;/p&#62;
&#60;p&#62;&#38;lt;stringtype id=&#34;1&#34; start=&#34;'&#34; end=&#34;'&#34; multiline=&#34;false&#34; escape=&#34;\&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;comments&#38;gt;&#38;lt;line start=&#34;--&#34; /&#38;gt;&#38;lt;/comments&#38;gt;&#60;/p&#62;
&#60;p&#62;3. I would like to have different syntax coloring for euphoria_keywords and euphoria_datatypes. Is it possible?&#60;/p&#62;
&#60;p&#62;4. The following setting makes single minus char act like a number:&#60;br /&#62;
&#38;lt;numbers start=&#34;[-#0-9]&#34; content=&#34;[#0-9a-f.x]&#34; /&#38;gt;&#60;br /&#62;
Why? It should be syntax colored to number only if following chars contains numbers or #.&#60;/p&#62;
&#60;p&#62;Here's what I've achieved so far: euphoria.schemedef&#60;/p&#62;
&#60;p&#62;&#38;lt;?xml version=&#34;1.0&#34; ?&#38;gt;&#60;br /&#62;
&#38;lt;Scheme&#38;gt;&#60;br /&#62;
	&#38;lt;keyword-classes&#38;gt;&#60;br /&#62;
		&#38;lt;keyword-class name=&#34;euphoria_keywords&#34;&#38;gt;&#60;br /&#62;
			and            end             include          to&#60;br /&#62;
			by             exit            not              type&#60;br /&#62;
			constant       for             or               while&#60;br /&#62;
			do             function        procedure        with&#60;br /&#62;
			else           global          return           without&#60;br /&#62;
			elsif          if              then             xor&#60;br /&#62;
			as&#60;br /&#62;
		&#38;lt;/keyword-class&#38;gt;&#60;br /&#62;
		&#38;lt;keyword-class name=&#34;euphoria_datatypes&#34;&#38;gt;&#60;br /&#62;
			atom integer sequence object&#60;br /&#62;
		&#38;lt;/keyword-class&#38;gt;&#60;br /&#62;
	&#38;lt;/keyword-classes&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;schemedef name=&#34;euphoria&#34; title=&#34;Euphoria&#34; author=&#34;Tapani Talvitie&#34; url=&#34;http://www.pnotepad.org/&#34; version=&#34;1&#34;&#60;br /&#62;
		casesensitive=&#34;true&#34; braces=&#34;{[()]}&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;!-- I'm using vhdl lexel here since I don't have a clue how to make my own lexer --&#38;gt;&#60;br /&#62;
		&#38;lt;lexer name=&#34;vhdl&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;strings&#38;gt;&#60;br /&#62;
			&#38;lt;!-- Single and double quotes string, with \ as an escape character --&#38;gt;&#60;br /&#62;
			&#38;lt;stringtype id=&#34;0&#34; start=&#34;&#38;quot;&#34; end=&#34;&#38;quot;&#34; multiline=&#34;false&#34; escape=&#34;\&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;stringtype id=&#34;1&#34; start=&#34;'&#34; end=&#34;'&#34; multiline=&#34;false&#34; escape=&#34;\&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/strings&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;identifiers start=&#34;[a-zA-Z]&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;comments&#38;gt;&#60;br /&#62;
			&#38;lt;line start=&#34;--&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/comments&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;numbers start=&#34;[-#0-9]&#34; content=&#34;[#0-9a-f.x]&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;use-styles&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Default&#34; key=&#34;32&#34; fore=&#34;000000&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Line Comment&#34; key=&#34;1&#34; class=&#34;comment&#34; fore=&#34;007f00&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Keywords&#34; key=&#34;5&#34; class=&#34;keyword&#34; fore=&#34;00008b&#34; bold=&#34;true&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;String&#34; key=&#34;10&#34; class=&#34;string&#34; fore=&#34;800080&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;String 2&#34; key=&#34;11&#34; class=&#34;string&#34; fore=&#34;800080&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Number&#34; key=&#34;4&#34; class=&#34;number&#34; fore=&#34;800080&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Identifier&#34; key=&#34;3&#34; fore=&#34;000000&#34; bold=&#34;false&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/use-styles&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;use-keywords&#38;gt;&#60;br /&#62;
			&#38;lt;keyword key=&#34;0&#34; name=&#34;Keywords&#34; class=&#34;euphoria_keywords&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;keyword key=&#34;1&#34; name=&#34;Keywords&#34; class=&#34;euphoria_datatypes&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/use-keywords&#38;gt;&#60;br /&#62;
	&#38;lt;/schemedef&#38;gt;&#60;br /&#62;
&#38;lt;/Scheme&#38;gt;&#60;/p&#62;
&#60;p&#62;Best Regards,&#60;br /&#62;
-- Tapani Talvitie
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (bcat)</title>
			<link>http://pnotepad.org/forums/topic/139#post-541</link>
			<pubDate>Sat, 02 Dec 2006 04:17:29 +0000</pubDate>
			<dc:creator>bcat</dc:creator>
			<guid isPermaLink="false">541@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hmm, I just tested it with 2.0.7.640 and it still queries the APPDATA folder. Then again, it doesn't actually do anything to the files, so I guess I'm just being anal. :)&#60;/p&#62;
&#60;p&#62;Here's the relevant FileMon entries:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;67	10:10:15 PM	pn.exe:3968	OPEN	C:\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
68	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\	SUCCESS	FileNamesInformation	&#60;br /&#62;
69	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\	NO MORE FILES	FileNamesInformation	&#60;br /&#62;
70	10:10:15 PM	pn.exe:3968	OPEN	C:\DOCUMENTS AND SETTINGS\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
71	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\	SUCCESS	FileNamesInformation	&#60;br /&#62;
72	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\	NO MORE FILES	FileNamesInformation	&#60;br /&#62;
73	10:10:15 PM	pn.exe:3968	OPEN	C:\DOCUMENTS AND SETTINGS\JON\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
74	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\	SUCCESS	FileNamesInformation	&#60;br /&#62;
75	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\	NO MORE FILES	FileNamesInformation	&#60;br /&#62;
76	10:10:15 PM	pn.exe:3968	OPEN	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
77	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\	SUCCESS	FileNamesInformation	&#60;br /&#62;
78	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\	NO MORE FILES	FileNamesInformation	&#60;br /&#62;
79	10:10:15 PM	pn.exe:3968	OPEN	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
80	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\	SUCCESS	FileNamesInformation	&#60;br /&#62;
81	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\	NO MORE FILES	FileNamesInformation	&#60;br /&#62;
82	10:10:15 PM	pn.exe:3968	OPEN	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\PN2\	SUCCESS	Options: Open Directory  Access: All	&#60;br /&#62;
83	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\PN2\	SUCCESS	FileNamesInformation	&#60;br /&#62;
84	10:10:15 PM	pn.exe:3968	DIRECTORY	C:\DOCUMENTS AND SETTINGS\JON\APPLICATION DATA\ECHO SOFTWARE\PN2\	NO MORE FILES	FileNamesInformation	&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (simon)</title>
			<link>http://pnotepad.org/forums/topic/139#post-530</link>
			<pubDate>Thu, 23 Nov 2006 21:38:53 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">530@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, I've integrated the changes for D you suggest.&#60;/p&#62;
&#60;p&#62;I've just loaded PN while running filemon and I don't see it querying the Echo Software\PN2 application data folder. There are a few queries to Application Data\desktop.ini but this is part of Windows not the PN code. What build are you using? I'm testing with a 2.0.7 build.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (bcat)</title>
			<link>http://pnotepad.org/forums/topic/139#post-515</link>
			<pubDate>Mon, 13 Nov 2006 19:21:51 +0000</pubDate>
			<dc:creator>bcat</dc:creator>
			<guid isPermaLink="false">515@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;OK, here's my config.xml: &#60;code&#62;&#38;lt;config&#38;gt;&#38;lt;userSettings path=&#38;quot;settings/&#38;quot; /&#38;gt;&#38;lt;storeType value=&#38;quot;Ini&#38;quot; /&#38;gt;&#38;lt;/config&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Again, settings/UserSettings.ini is created and used. I just can't figure out why PN still reads files out of %APPDATA%.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (simon)</title>
			<link>http://pnotepad.org/forums/topic/139#post-513</link>
			<pubDate>Mon, 13 Nov 2006 09:28:45 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">513@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, I'll try and look at all this stuff this week. Could you please paste in a copy of your config.xml file so that I can see what's in there? The portable stuff should work with recent builds (I know the registry stuff for autocomplete still needs fixing).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (bcat)</title>
			<link>http://pnotepad.org/forums/topic/139#post-511</link>
			<pubDate>Sat, 11 Nov 2006 03:27:11 +0000</pubDate>
			<dc:creator>bcat</dc:creator>
			<guid isPermaLink="false">511@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Oops, I guess I forgot to write the second part of my post. :/ OK, well I'll do that now. I'd like to take PN with me on my USB thumb drive, so I added a config.xml file as suggested in the &#34;pn ini settings&#34; thread. It did work, but not completely. I checked pn.exe with FileMon and RegMon, and it still made some registry and file accesses.&#60;/p&#62;
&#60;p&#62;It read the recent find list from HKCU\Software\Echo Software\PN2\AutoComplete\FindToolbar. It also read the files in %APPDATA%\Echo Software\Programmer's Notepad. The funny thing is it did this *after* it read the local config file. It did read/write settings to the correct location, at least.&#60;/p&#62;
&#60;p&#62;BTW, thanks all the time and energy you put into PN! It's the best lightweight editor on Windows, IMO. That's why I'm here complaining about little things like this. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>D scheme / making portable (bcat)</title>
			<link>http://pnotepad.org/forums/topic/139#post-510</link>
			<pubDate>Sat, 11 Nov 2006 02:54:07 +0000</pubDate>
			<dc:creator>bcat</dc:creator>
			<guid isPermaLink="false">510@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi simon. I just wanted to let you know that there are a couple problems with the D scheme in 2.0.7.610.&#60;/p&#62;
&#60;p&#62;1) The .d extension isn't associated with the D scheme, so D files come up as plain text by default.&#60;/p&#62;
&#60;p&#62;2) The keyword list is incorrect. Here's an updated version from the language spec:&#60;/p&#62;
&#60;p&#62;abstract alias align asm assert auto body bool break byte case cast catch cdouble cent cfloat char class const continue creal dchar debug default delegate delete deprecated do double else enum export extern false final finally float for foreach foreach_reverse function goto idouble if ifloat import in inout int interface invariant ireal is lazy long mixin module new null out override package pragma private protected public real return scope short static struct super switch synchronized template this throw true try typedef typeid typeof ubyte ucent uint ulong union unittest ushort version void volatile wchar while with&#60;/p&#62;
&#60;p&#62;3) The line/stream/box comment menu items don't work. Line comments should start with &#60;code&#62;//&#60;/code&#62;. Stream comments should be within &#60;code&#62;/* ... */&#60;/code&#62;. What are box comments?&#60;/p&#62;
&#60;p&#62;4) &#60;code&#62;/+ ... +/&#60;/code&#62; style nested comments are not supported at all.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Question about auto-(complete&#124;closing) (jp)</title>
			<link>http://pnotepad.org/forums/topic/46#post-182</link>
			<pubDate>Thu, 13 Apr 2006 11:33:21 +0000</pubDate>
			<dc:creator>jp</dc:creator>
			<guid isPermaLink="false">182@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Nice, so I hold on waiting for it anxiously. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Question about auto-(complete&#124;closing) (simon)</title>
			<link>http://pnotepad.org/forums/topic/46#post-181</link>
			<pubDate>Thu, 13 Apr 2006 10:39:48 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">181@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;This is on the way, but isn't currently implemented. Hopefully in the next version or so.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Question about auto-(complete&#124;closing) (jp)</title>
			<link>http://pnotepad.org/forums/topic/46#post-180</link>
			<pubDate>Thu, 13 Apr 2006 06:16:07 +0000</pubDate>
			<dc:creator>jp</dc:creator>
			<guid isPermaLink="false">180@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello, I've just found this piece of quality software and it's just what I've been looking for, except for one little feature. This might have been already implemented (at least the lexer has the required functionality afaik), but I was unable to find any solution for this with a quick look-around; is there a way to enable a auto-(complete&#124;closing) of tags, brackets and such? As in, if I'd type in a &#38;lt;span class=&#34;foo&#34;&#38;gt;, after I've input the closing bracket (&#38;gt;), the pn would automatically insert the closing tag &#38;lt;/span&#38;gt; after the cursor? You know what I'm talking about don't you?&#60;/p&#62;
&#60;p&#62;Sorry if my explanation is a bit odd but I didn't figure out any better way to express myself after a 14h workday. :) The feature I'm talking is like those text clips you have in editor expect that the functionality is automated. I'm not talking about code-completion a lá VS or any other bloat IDEs like with method-dropdowns or such.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
