Is there any progress on the document describing how to write schemes in XML for PN2?
If this is still some way off, then does anyone have some rough notes on the subject?
Thanks,
Nzbuu
Is there any progress on the document describing how to write schemes in XML for PN2?
If this is still some way off, then does anyone have some rough notes on the subject?
Thanks,
Nzbuu
You should look at the following documents:
http://untidy.net/blog/2005/12/06/schemes-from-scite/
and
http://www.pnotepad.org/articles/pn2schemes.html
The first describes how to add support for a built-in scintilla lexer. The second is an (admittedly outdated) guide to the scheme xml format.
There is also a way to write user schemes, you can look at vhdl.userscheme for an example and I'll try to write some more documentation for it soon.
Perhaps a schema generator / editor would be a good idea (like how you have a Text Clip Creator).
Thanks. I've finally got round to doing something with this.
In the Scintilla link, you mention style.xxx.xxx in the source, but I couldn't find it. Nevertheless, I've managed to do what I wanted: a MATLAB scheme. So I guess it was a success.
I'll post the scheme in a separate thread.
Thanks again,
James
Great, glad to hear it.
A scheme generator/editor is definitely on the todo list. Also someone recently said they might try writing a perl script to convert between SciTE language config files and the PN format.
FWIW, I've found the style.xxx.xxx lines now: I was looking at the Scintilla code, not the SciTE code :S.
someone should make a Schemes Maker Studio.
You must log in to post.