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

		<item>
                        <title>A couple schemedef questions (re: preprocessor, comments) (Roody)</title>
			<link>http://pnotepad.org/forums/topic/7438#post-10629</link>
			<pubDate>Mon, 30 Jan 2012 19:29:00 +0000</pubDate>
			<dc:creator>Roody</dc:creator>
			<guid isPermaLink="false">10629@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks for the response!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>A couple schemedef questions (re: preprocessor, comments) (simon)</title>
			<link>http://pnotepad.org/forums/topic/7438#post-10627</link>
			<pubDate>Mon, 30 Jan 2012 17:03:40 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">10627@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;There's no way to terminate preprocessor coloring, but you could try using something else like a string type for this. However I don't know if you could easily get it so that it was terminated either by line end or a closing character. You'd need to experiment.&#60;/p&#62;
&#60;p&#62;The comment thing is unfortunate, there's no support for regular expressions for matching at the moment, although there may be something like this in the future.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Creating a new scheme in PN portable (prgcoder)</title>
			<link>http://pnotepad.org/forums/topic/7445#post-10623</link>
			<pubDate>Mon, 30 Jan 2012 04:26:35 +0000</pubDate>
			<dc:creator>prgcoder</dc:creator>
			<guid isPermaLink="false">10623@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks Roody - that has helped me get something started.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Creating a new scheme in PN portable (Roody)</title>
			<link>http://pnotepad.org/forums/topic/7445#post-10618</link>
			<pubDate>Sat, 28 Jan 2012 03:35:44 +0000</pubDate>
			<dc:creator>Roody</dc:creator>
			<guid isPermaLink="false">10618@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;It took me some time to find where things are explained, too. It seems that all of the .scheme files refer to lexers that are built-in to the Scintilla SciLexer.dll file. Unless the language you're trying to add is 100% compatible to one of those built-in lexers, yeah, you need to make a .schemedef file. Here's an example file for prolog. I think I got it from somewhere on here.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;?xml version=&#34;1.0&#34; ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;!-- This is a very improvised, kluged schemedef for Prolog, written without&#60;br /&#62;
     documentation of Programmers Notepad scheme definition syntax.&#60;/p&#62;
&#60;p&#62;     Main limitations:&#60;br /&#62;
	  No folding of comments.&#60;br /&#62;
          Quoted atoms with a quote doubled ('don''t panic') are not treated correctly.&#60;br /&#62;
          Escaped quoted atoms ('don\'t panic') are OK and are preferred.&#60;/p&#62;
&#60;p&#62;     Michael A. Covington - University of Georgia - &#60;a href=&#34;http://www.ai.uga.edu/mc&#34; rel=&#34;nofollow&#34;&#62;http://www.ai.uga.edu/mc&#60;/a&#62;&#60;br /&#62;
--&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;Scheme&#38;gt;&#60;br /&#62;
&#38;lt;keyword-classes&#38;gt;&#60;br /&#62;
		&#38;lt;keyword-class name=&#34;prolog&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;!-- Strictly speaking Prolog has no keywords. These are the ISO directives. --&#38;gt;&#60;br /&#62;
		dynamic multifile module discontiguous set_prolog_flag&#60;br /&#62;
		op char_conversion initialization include ensure_loaded&#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;prolog&#34; title=&#34;Prolog&#34; author=&#34;M. Covington&#34; url=&#34;http://www.ai.uga.edu/mc/&#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;!-- Max 2 --&#38;gt;&#60;br /&#62;
		&#38;lt;strings&#38;gt;&#60;br /&#62;
			&#38;lt;!-- Quoted atom, with \ as an escape character. --&#38;gt;&#60;br /&#62;
			&#38;lt;stringtype id=&#34;0&#34; start=&#34;'&#34; end=&#34;'&#34; multiline=&#34;false&#34; escape=&#34;\&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;!-- Double quoted string, same --&#38;gt;&#60;br /&#62;
			&#38;lt;stringtype id=&#34;1&#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;/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;block start=&#34;/*&#34; end=&#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-9.]&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;!-- From here on is the traditional scheme definition block... --&#38;gt;&#60;br /&#62;
		&#38;lt;lexer name=&#34;prolog&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;use-styles&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Default&#34; key=&#34;32&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Line Comment&#34; key=&#34;1&#34; class=&#34;comment&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Block Comment&#34; key=&#34;2&#34; class=&#34;comment&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Atom, Variable&#34; key=&#34;3&#34; fore=&#34;000080&#34;/&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Number&#34; key=&#34;4&#34; class=&#34;number&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Directive&#34; key=&#34;5&#34; class=&#34;keyword&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;!-- &#38;lt;style name=&#34;Keywords 2&#34; key=&#34;6&#34; class=&#34;keyword&#34; fore=&#34;f80000&#34; /&#38;gt; --&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Quoted Atom&#34; key=&#34;10&#34; class=&#34;string&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;style name=&#34;Edinburgh String&#34; key=&#34;11&#34; class=&#34;string&#34; fore=&#34;f80000&#34;/&#38;gt;&#60;br /&#62;
			&#38;lt;!-- &#38;lt;style name=&#34;Pre-Processor&#34; key=&#34;12&#34; class=&#34;preprocessor&#34; /&#38;gt; --&#38;gt;&#60;br /&#62;
			&#38;lt;!-- &#38;lt;style name=&#34;Special Identifier&#34; key=&#34;13&#34; fore=&#34;478698&#34; /&#38;gt; --&#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;prolog&#34;/&#38;gt;&#60;br /&#62;
		&#38;lt;/use-keywords&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;/schemedef&#38;gt;&#60;br /&#62;
&#38;lt;/Scheme&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Creating a new scheme in PN portable (prgcoder)</title>
			<link>http://pnotepad.org/forums/topic/7445#post-10617</link>
			<pubDate>Fri, 27 Jan 2012 06:17:17 +0000</pubDate>
			<dc:creator>prgcoder</dc:creator>
			<guid isPermaLink="false">10617@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi All, &#38;lt;first post&#38;gt;&#60;br /&#62;
I am having some problems trying to create a scheme for Ingres and/or OpenRoad.&#60;br /&#62;
I am using the portable version of PN (nice).&#60;br /&#62;
I see in the forum some talk of .schemedef files - i do not see any of these in the portable version.&#60;br /&#62;
I have tried copying existing .scheme files and associated them through the Tools &#38;gt; Options &#38;gt; Files &#38;gt; Add button, but no luck.&#60;/p&#62;
&#60;p&#62;Any pointers would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Andy.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>A couple schemedef questions (re: preprocessor, comments) (Roody)</title>
			<link>http://pnotepad.org/forums/topic/7438#post-10606</link>
			<pubDate>Sat, 21 Jan 2012 20:37:15 +0000</pubDate>
			<dc:creator>Roody</dc:creator>
			<guid isPermaLink="false">10606@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, I use a somewhat obscure text adventure language called Hugo that has some funny syntax, and now I'm trying to make a PN schemedef file to suit it.&#60;/p&#62;
&#60;p&#62;First off, is there any way to terminate the preprocessor coloring before the end of line? I've played around with some methods but nothing has worked.&#60;/p&#62;
&#60;p&#62;Secondly, is there a way to use regular expression for comment definitions? Hugo uses &#34;!&#34; for single line comments, and &#34;!\&#34; to begin blocks and &#34;\!&#34; to end blocks. Right now, they aren't coexisting happily.&#60;/p&#62;
&#60;p&#62;Thanks for any help!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>V2 still no way to add new language definitions (hoemaco)</title>
			<link>http://pnotepad.org/forums/topic/5183#post-7792</link>
			<pubDate>Sun, 27 Mar 2011 12:36:25 +0000</pubDate>
			<dc:creator>hoemaco</dc:creator>
			<guid isPermaLink="false">7792@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi! I tried out this lsl.schemedef, but it does nothing for me. That is, I can select LSL in the syntax menu, but all the text remains black.&#60;br /&#62;
(Actually I wanted to create a PIC asm syntax based on the asm syntax, it didn't work, so tried to see if this lsl works...)&#60;/p&#62;
&#60;p&#62;The link noted earlier contains no information that can't be guessed. The big problem with documentation is that users can't help (I'd really like to), as we simply don't know how it works...
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>V2 still no way to add new language definitions (simon)</title>
			<link>http://pnotepad.org/forums/topic/5183#post-7716</link>
			<pubDate>Fri, 04 Mar 2011 09:41:57 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7716@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;And in fact, here is how to use schemedef to add support for LSL:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?xml version=&#38;quot;1.0&#38;quot; ?&#38;gt;
&#38;lt;Scheme&#38;gt;
	&#38;lt;keyword-classes&#38;gt;
		&#38;lt;keyword-class name=&#38;quot;lsl.flowcontrol&#38;quot;&#38;gt;
			for if else while do-while jump return state default
		&#38;lt;/keyword-class&#38;gt;
		&#38;lt;keyword-class name=&#38;quot;lsl.types&#38;quot;&#38;gt;
			integer float string key list vector rotation
		&#38;lt;/keyword-class&#38;gt;
		&#38;lt;keyword-class name=&#38;quot;lsl.events&#38;quot;&#38;gt;
			state_entry state_exit touch_start touch_end collision_start collision collision_end land_collision_start land_collision land_collision_end
			timer listen sensor no_sensor control at_target not_at_target at_rot_target not_at_rot_target money email run_time_permissions
			attach dataserver moving_start moving_end on_rez object_rez link_message changed remote_data http_response http_request
		&#38;lt;/keyword-class&#38;gt;
	&#38;lt;/keyword-classes&#38;gt;

	&#38;lt;schemedef name=&#38;quot;lsl&#38;quot; title=&#38;quot;LSL&#38;quot; author=&#38;quot;Simon Steele&#38;quot; url=&#38;quot;http://www.pnotepad.org/&#38;quot; version=&#38;quot;1&#38;quot; casesensitive=&#38;quot;false&#38;quot; braces=&#38;quot;{[()]}&#38;quot;&#38;gt;

		&#38;lt;strings&#38;gt;
			&#38;lt;stringtype id=&#38;quot;0&#38;quot; start=&#38;quot;&#38;amp;quot;&#38;quot; end=&#38;quot;&#38;amp;quot;&#38;quot; multiline=&#38;quot;true&#38;quot; escape=&#38;quot;\&#38;quot; /&#38;gt;
		&#38;lt;/strings&#38;gt;

		&#38;lt;identifiers start=&#38;quot;[a-zA-Z]&#38;quot; /&#38;gt;

		&#38;lt;comments&#38;gt;
			&#38;lt;line start=&#38;quot;//&#38;quot; /&#38;gt;
		&#38;lt;/comments&#38;gt;

		&#38;lt;numbers start=&#38;quot;[0-9]&#38;quot; content=&#38;quot;[0-9a-f.x]&#38;quot; /&#38;gt;

		&#38;lt;!-- From here on is the traditional scheme definition block... --&#38;gt;
		&#38;lt;lexer name=&#38;quot;lsl&#38;quot; /&#38;gt;
		&#38;lt;use-styles&#38;gt;
			&#38;lt;style name=&#38;quot;Default&#38;quot; key=&#38;quot;32&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Line Comment&#38;quot; key=&#38;quot;1&#38;quot; class=&#38;quot;comment&#38;quot; /&#38;gt;
			&#38;lt;!-- &#38;lt;style name=&#38;quot;Block Comment&#38;quot; key=&#38;quot;2&#38;quot; class=&#38;quot;comment&#38;quot; /&#38;gt; --&#38;gt;
			&#38;lt;style name=&#38;quot;Identifier&#38;quot; key=&#38;quot;3&#38;quot; class=&#38;quot;identifier&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Number&#38;quot; key=&#38;quot;4&#38;quot; class=&#38;quot;number&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Flow Control&#38;quot; key=&#38;quot;5&#38;quot; class=&#38;quot;keyword&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Types&#38;quot; key=&#38;quot;6&#38;quot; class=&#38;quot;keyword2&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Events&#38;quot; key=&#38;quot;7&#38;quot; class=&#38;quot;keyword2&#38;quot; fore=&#38;quot;008080&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;String&#38;quot; key=&#38;quot;10&#38;quot; class=&#38;quot;string&#38;quot; /&#38;gt;
			&#38;lt;style name=&#38;quot;Special Identifier&#38;quot; key=&#38;quot;13&#38;quot; fore=&#38;quot;478698&#38;quot; /&#38;gt;
		&#38;lt;/use-styles&#38;gt;

		&#38;lt;use-keywords&#38;gt;
			&#38;lt;keyword key=&#38;quot;0&#38;quot; name=&#38;quot;Flow Control&#38;quot; class=&#38;quot;lsl.flowcontrol&#38;quot;/&#38;gt;
			&#38;lt;keyword key=&#38;quot;1&#38;quot; name=&#38;quot;Types&#38;quot; class=&#38;quot;lsl.types&#38;quot;/&#38;gt;
			&#38;lt;keyword key=&#38;quot;2&#38;quot; name=&#38;quot;Events&#38;quot; class=&#38;quot;lsl.events&#38;quot;/&#38;gt;
		&#38;lt;/use-keywords&#38;gt;

	&#38;lt;/schemedef&#38;gt;
&#38;lt;/Scheme&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just save this as lsl.schemedef in your schemes directory, and restart PN. You can now select this scheme. To make it get used automatically for LSL files go to Options &#124; Files and set the extension to map to LSL.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Edit:&#60;/strong&#62; You can also now download this here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.googlecode.com/files/lsl.schemedef&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.googlecode.com/files/lsl.schemedef&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>V2 still no way to add new language definitions (simon)</title>
			<link>http://pnotepad.org/forums/topic/5183#post-7709</link>
			<pubDate>Thu, 03 Mar 2011 23:33:56 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7709@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;FWIW there is support for custom languages, it's just not as well documented as it should be. I know this, and plan to work on it when I find time.&#60;/p&#62;
&#60;p&#62;There's a sample user scheme in the Samples directory under Programmer's Notepad, you could try adapting that and then copy into the schemes directory. Post here for more support if you get stuck. There is some documentation for scheme file values here, but it's not complete or intuitive yet:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/howto/add_support_for_your_language&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/howto/add_support_for_your_language&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Nux: For adding derivative schemes you should only need to add your keywords in your .scheme file, not master.scheme. Master.scheme should never need modifying. The reason javascript keywords are in master.scheme is because they're shared between schemes - most languages do not need this, and I may find a way to improve it in the future.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>V2 still no way to add new language definitions (Nux)</title>
			<link>http://pnotepad.org/forums/topic/5183#post-7697</link>
			<pubDate>Mon, 28 Feb 2011 18:27:22 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">7697@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;From a quick look I think you can easily base LSL scheme on C or JavaScript. You can do this by adding keywords (one or more class) to &#60;code&#62;schemes\master.scheme&#60;/code&#62;. You the need to add your language in &#60;code&#62;cpp.scheme&#60;/code&#62; and copy paste the &#60;code&#62;language&#60;/code&#62; tag of JavaScript and change it to your needs. Just note that the name should not be longer then 8 characters (not sure if longer names are still are problem, but they were in some version).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>V2 still no way to add new language definitions (Ranandar)</title>
			<link>http://pnotepad.org/forums/topic/5183#post-7696</link>
			<pubDate>Mon, 28 Feb 2011 16:23:03 +0000</pubDate>
			<dc:creator>Ranandar</dc:creator>
			<guid isPermaLink="false">7696@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I am disappointed that there is still no way to add a new language definition in version 2. The few instructions available are impossible to comprehend and trial and error scheme editing has gotten me nowhere. I am also disappointed that there is no repository of language add-ins from users, apparently because nobody can figure out how to do it. &#60;/p&#62;
&#60;p&#62;There are two things I was specifically looking for. One is support for LSL, the scripting language used in many online 3D games. Second is a text print definition where default colors are overridden with black text on white background for printing. &#60;/p&#62;
&#60;p&#62;Programmer's Notepad has too many great features to completely give up on it. I use it mostly for PHP, C and C# It works great for included languages, except for printing. I just cannot understand why the ability to add new languages is not supported.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Example .schemedef? (simon)</title>
			<link>http://pnotepad.org/forums/topic/5159#post-7631</link>
			<pubDate>Mon, 07 Feb 2011 12:34:20 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7631@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;We can certainly add some bits to the wiki, also look in the install directory under &#34;samples&#34;. You'll find a sample implementing Powershell highlighting in there.&#60;/p&#62;
&#60;p&#62;Hope that helps.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Example .schemedef? (facs)</title>
			<link>http://pnotepad.org/forums/topic/5159#post-7627</link>
			<pubDate>Fri, 04 Feb 2011 16:46:42 +0000</pubDate>
			<dc:creator>facs</dc:creator>
			<guid isPermaLink="false">7627@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've searched this site and I can't find a single functional .schemedef file anywhere. Apparently there used to be a vhdl.schemedef in the old versions but it got deleted. The only .schemedef files on the forums are broken ones people have posted looking for help.&#60;/p&#62;
&#60;p&#62;Can an official, working demo file be added to the wiki?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>How to add a new type of file (simon)</title>
			<link>http://pnotepad.org/forums/topic/5069#post-7360</link>
			<pubDate>Mon, 20 Sep 2010 13:51:16 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7360@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, should be possible with the custom schemes stuff. I'm afraid it's not the best documented thing ever, but these two links should help:&#60;/p&#62;
&#60;p&#62;1. Example custom scheme for powershell:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://code.google.com/p/pnotepad/downloads/detail?name=powershell.schemedef&#38;#038;can=2&#38;#038;q=&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/pnotepad/downloads/detail?name=powershell.schemedef&#38;#038;can=2&#38;#038;q=&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2. Some documentation for the file format:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/howto/add_support_for_your_language&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/howto/add_support_for_your_language&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Feel free to ask on here for help if you have issues. I know this area needs some improvement and all feedback welcome.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>How to add a new type of file (DaMMratter)</title>
			<link>http://pnotepad.org/forums/topic/5069#post-7358</link>
			<pubDate>Mon, 20 Sep 2010 10:19:29 +0000</pubDate>
			<dc:creator>DaMMratter</dc:creator>
			<guid isPermaLink="false">7358@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;i want to add a new type of file to PN2, but i don't know where to start. The programming language is Blaise, its main page is &#60;a href=&#34;http://www.blaise.com&#34; rel=&#34;nofollow&#34;&#62;http://www.blaise.com&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;The syntax is something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;IF (AD1a1 = C01 OR AD1a1 = C02) THEN&#60;br /&#62;
     counter := counter + 1&#60;br /&#62;
ENDIF&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;{} is used for commenting&#60;/p&#62;
&#60;p&#62;Is it possible to perform this?&#60;/p&#62;
&#60;p&#62;Thanks for your time.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>AutoIT scheme? (BrewmanNH)</title>
			<link>http://pnotepad.org/forums/topic/4914#post-7114</link>
			<pubDate>Mon, 12 Jul 2010 17:45:36 +0000</pubDate>
			<dc:creator>BrewmanNH</dc:creator>
			<guid isPermaLink="false">7114@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm looking to find a scheme for the AutoIt scripting language. The one that is posted on the google site isn't useful at all for AutoIt. All it has is a listing of all of the keywords, functions, macros etc. but nothing on code folding, syntax highlighting or anything needed for a real scheme. I have tried to modify other schemes to try and get one of them to substitute for the au3.scheme file with no success. I know that I'm clueless when it comes to playing with a scheme file because it's not clear on the &#34;how to add your own language&#34; page as to what does what. &#60;/p&#62;
&#60;p&#62;So, if anyone knows of a full fledged AutoIT scheme, I would be forever grateful to you for pointing me to it. Thank you all in advance, and most especially thank you Simon for your great program, I used to write my scripts in Notepad until I found this program and I can't see how I ever did it that way before. :)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5092</link>
			<pubDate>Thu, 13 May 2010 15:32:31 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">5092@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thank you that’s working properly. :-)&#60;/p&#62;
&#60;p&#62;Is there a possibility to highlight different keyword lists in different colours? I can’t get it yet. (Also here a hint that this is quite easy using the UltraEdit wordfiles as described above.)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (simon)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5086</link>
			<pubDate>Wed, 12 May 2010 08:38:14 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">5086@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;@rc-flitzer: Your schemedef is almost right, only one change needed:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;lexer name=&#38;quot;relaxngc&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The lexer name should be the same as the schemedef name.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (simon)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5076</link>
			<pubDate>Tue, 11 May 2010 17:33:13 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">5076@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi Patrick,&#60;/p&#62;
&#60;p&#62;Schemes are for syntax highlighting rather than scripting, PyPN is the right topic for scripting. You would need to explain more exactly what you're looking to do for us to help in finding scripts (like your other questions).&#60;/p&#62;
&#60;p&#62;You can find some sample scripts here: &#60;a href=&#34;http://scriptshare.rocketmonkeys.com/&#34; rel=&#34;nofollow&#34;&#62;http://scriptshare.rocketmonkeys.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (patrick4kin)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5073</link>
			<pubDate>Tue, 11 May 2010 15:31:23 +0000</pubDate>
			<dc:creator>patrick4kin</dc:creator>
			<guid isPermaLink="false">5073@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hallo!&#60;br /&#62;
I am a writer and not a programmer. I write in English and translate into German.&#60;br /&#62;
To markup text I will translate, is scheme what I should use in PyPN?&#60;br /&#62;
If it is, where are the best links to get started?&#60;br /&#62;
Where is the best documentation, on PyPN?&#60;br /&#62;
Are there any scripts, that members know of, which could be of use to me in learning?&#60;br /&#62;
Regards and thanks?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (simon)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5071</link>
			<pubDate>Mon, 10 May 2010 08:44:56 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">5071@http://pnotepad.org/forums/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;But it’s not obvious to enter the fonts&#38;amp;colours setting to have a .schemedef activated.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Agreed, this was a bug which should be fixed for the next release.&#60;/p&#62;
&#60;p&#62;I'll take a look at your schemedef and get back to you.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5070</link>
			<pubDate>Sun, 09 May 2010 16:37:00 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">5070@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hm, no.&#60;br /&#62;
The scheme Relax NG is listed in “change scheme” but the keywords are not highlighted. I uploaded my .schemedef file. Maybe you can tell me what’s wrong?&#60;br /&#62;
&#60;a href=&#34;http://anyhub.net/file/relaxngc.schemedef&#34; rel=&#34;nofollow&#34;&#62;http://anyhub.net/file/relaxngc.schemedef&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/417#post-5069</link>
			<pubDate>Sun, 09 May 2010 16:30:38 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">5069@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thank you, that works. But it’s not obvious to enter the fonts&#38;amp;colours setting to have a .schemedef activated. Also the scheme won’t disappear by simply deleting the .schemedef file. You have to delete the automatically created .cscheme in PN2 setting directory.&#60;/p&#62;
&#60;p&#62;May I assume that a .scheme file is only useful either for the prebuilt languages or if you create you own lexer, respectively? And a .schemedef file always uses the custom lexer? If that is true, please state this in the tutorial because it isn’t described and is also not obvious.&#60;/p&#62;
&#60;p&#62;You don’t have to make it “ultra” simple. You just have to explain properly what is to be done, and with working examples to reproduce and learn. But speaking of “ultra”, the UltraEdit way is quite simple and sufficient for all languages I ever needed. It has support for keyword groups, reseverd word, paranthesis, comment style, file extensions. All in a simple text file (used also by any other built-in language) which is used directly after reloading UE. I think that’s much more practical than writing XML files manually.&#60;/p&#62;
&#60;p&#62;All UE wordfiles can be found here: &#60;a href=&#34;http://www.ultraedit.com/downloads/extras.html#wordfiles&#34; rel=&#34;nofollow&#34;&#62;http://www.ultraedit.com/downloads/extras.html#wordfiles&#60;/a&#62;&#60;br /&#62;
There are a lot of languages, I think because it’s so simple to create a simple word highlighting file which is what makes editing a lot easier.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (simon)</title>
			<link>http://pnotepad.org/forums/topic/417#post-4850</link>
			<pubDate>Tue, 04 May 2010 13:03:10 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">4850@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;If for some reason the scheme isn't showing up in the scheme change dialogs please try the following and let me know if it works:&#60;/p&#62;
&#60;p&#62;1. Go to Tools &#124; Options &#124; Fonts and Colours&#60;br /&#62;
2. Press OK&#60;br /&#62;
3. Reload PN&#60;/p&#62;
&#60;p&#62;This should cause a rebuild of the schemes. If this still doesn't work, please send me the .schemedef file and I'll have a look. A contributor is working on improving the custom lexer at the moment, and I'm also planning to improve this feature after the current text clip changes are completely finished. I'd like to make it ultra-simple (probably with a UI) to create your own language.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/417#post-4847</link>
			<pubDate>Mon, 03 May 2010 10:57:07 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">4847@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ok, I created a .schemedef file, also used your Prolog .schemedef as an example. Then I put these files into schemes folder. Result: I have an option to assign RelaxNG (or Prolog) to a file extension, but it has no effect. The scheme is listed there but I can’t select it.&#60;br /&#62;
Then the scheme is NOT listed in View → Change scheme. So … please please please let me know how to extend PNotepad with additional schemes!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Scheme (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/417#post-4845</link>
			<pubDate>Mon, 03 May 2010 10:27:48 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">4845@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello!&#60;br /&#62;
I’m having trouble creating a very simple custom scheme file. I found the HowTo (&#60;a href=&#34;http://pnotepad.org/docs/howto/add_support_for_your_language)&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/howto/add_support_for_your_language)&#60;/a&#62;, but that is not a How To. It is just a description of the used XML scheme. I still don’t know, _what_ file to edit, _what_ neccassary and optional tags I have and _where_ to put those files to have it listed in scheme menu.&#60;/p&#62;
&#60;p&#62;Simon, could you please create an example and a description that allows me to understand how it’s done? I’m quite experienced at programming but this … this is just try and error, and nowhere is explained, what the difference betweeen .scheme, .schemedef and .cscheme is (and why are they spread in two directories?), whether I need a lexer (and how to write it myself) or what PN is able to do on its own without any special lexer.&#60;br /&#62;
I discovered the powershell.schemedef sample, but there’s no explanation what it can do, where I have to put it to test the example etc. And there is already a powershell.scheme, so I really can’t reproduce / test the example.&#60;/p&#62;
&#60;p&#62;I just want to create a scheme for RELAX NG (compact syntax), which is similiar to CSS. It has just five keywords and uses {()} for braces / indentation. Is it really a problem to create something that easy? In UltraEdit I just add the keywords to a text file, and voilà. They’re highlighted. I don’t want anything more than a colourful highlighting, but it seems that it is waaaay too complicated in PN. At least without a hint of a tutorial.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Problem with whitespace / wrapping in schemedef (simon)</title>
			<link>http://pnotepad.org/forums/topic/642#post-2327</link>
			<pubDate>Tue, 11 Aug 2009 10:43:27 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2327@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ok, if you e-mail me your actual file (or upload it to the issue tracker in a bug) I'll take another look.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Problem with whitespace / wrapping in schemedef (oh)</title>
			<link>http://pnotepad.org/forums/topic/642#post-2324</link>
			<pubDate>Sat, 08 Aug 2009 22:30:03 +0000</pubDate>
			<dc:creator>oh</dc:creator>
			<guid isPermaLink="false">2324@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks for the reply, but that did not fix my problem - that was actually the way my file was built. Pasting it into the field on this forum mangled it. But thanks for your time and effort.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Problem with whitespace / wrapping in schemedef (simon)</title>
			<link>http://pnotepad.org/forums/topic/642#post-2323</link>
			<pubDate>Fri, 07 Aug 2009 13:11:19 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2323@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Interesting, there's a problem with this file and it seems to cause all sorts of knock-on issues in PN. I'll have to take a look at why that happens, but for the mean time here's the fix:&#60;/p&#62;
&#60;p&#62;Change this:&#60;br /&#62;
&#60;code&#62;&#38;lt;stringtype id=&#38;quot;0&#38;quot; start=&#38;quot;&#38;quot;&#38;quot; end=&#38;quot;&#38;quot;&#38;quot; multiline=&#38;quot;false&#38;quot; /&#38;gt;&#60;/code&#62;&#60;br /&#62;
To this:&#60;br /&#62;
&#60;code&#62;&#38;lt;stringtype id=&#38;quot;0&#38;quot; start=&#38;quot;&#38;amp;quot;&#38;quot; end=&#38;quot;&#38;amp;quot;&#38;quot; multiline=&#38;quot;false&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The unescaped quotes were making the file invalid XML.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Problem with whitespace / wrapping in schemedef (oh)</title>
			<link>http://pnotepad.org/forums/topic/642#post-2322</link>
			<pubDate>Thu, 06 Aug 2009 23:14:11 +0000</pubDate>
			<dc:creator>oh</dc:creator>
			<guid isPermaLink="false">2322@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I tried to make a schemedef for plain text files, to utilize the new XML API files. The point here is to be able to use auto-complete in regular *.txt files. But as soon as I pick this schemedef for *.txt files, the word wrapping gets all wrong, wrapping words arbitrary and keeping whitespace at the beginning of new lines. Example&#60;/p&#62;
&#60;p&#62;Word wrapping like&#60;br /&#62;
&#38;nbsp;this is common.&#60;/p&#62;
&#60;p&#62;Is there a quick fix?&#60;/p&#62;
&#60;p&#62;Here's my attempt at a schemedef file:&#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;/p&#62;
&#60;p&#62;    &#38;lt;keyword-classes&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;keyword-class name=&#34;test_keywords&#34;&#38;gt;&#60;br /&#62;
            Testing&#60;br /&#62;
        &#38;lt;/keyword-class&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;/keyword-classes&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;schemedef name=&#34;test&#34; title=&#34;Test&#34; version=&#34;0.1&#34; casesensitive=&#34;true&#34; braces=&#34;{[]}&#34; &#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;strings&#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; /&#38;gt;&#60;br /&#62;
        &#38;lt;/strings&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;numbers start=&#34;[0-9]&#34; content=&#34;[0-9,\.]&#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;block start=&#34;===&#34; end=&#34;===&#34; /&#38;gt;&#60;br /&#62;
        &#38;lt;/comments&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;lexer name=&#34;test&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;use-styles&#38;gt;&#60;/p&#62;
&#60;p&#62;            &#38;lt;style name=&#34;Default&#34; key=&#34;32&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;style name=&#34;Line Comment&#34; key=&#34;1&#34; class=&#34;comment&#34; fore=&#34;993333&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;style name=&#34;Block Comment&#34; key=&#34;2&#34; class=&#34;comment&#34; underline=&#34;true&#34; fore=&#34;000000&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;style name=&#34;Number&#34; key=&#34;4&#34; class=&#34;number&#34; fore=&#34;330000&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;style name=&#34;Keywords&#34; key=&#34;5&#34; class=&#34;keyword&#34; fore=&#34;003300&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;style name=&#34;String&#34; key=&#34;10&#34; class=&#34;string&#34; back=&#34;f9f9f9&#34; fore=&#34;111111&#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;test_keywords&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;/use-keywords&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;/schemedef&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/Scheme&#38;gt;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

