Developer
Developing with PN 2
Jump to: extensions . source code
Text Clips
If you want to edit existing text clips or create your own, then you need the Text Clip Creator!
The Text Clip Creator requires Microsoft’s .NET Framework v1.1+ installed.
Thanks to Bjoern Graf for maintaining this tool.
Schemes
Schemes define the way that languages are highlighted in Programmer’s Notepad. Schemes support in PN 2 is better than ever. There will be full details here soon on how to develop both simple and complex schemes for PN 2.
What you can look forward to: Most languages can be catered for with the simple-to-define XML based scheme description files. These will make it easy for any user to get the syntax highlighting they want. This functionality is already available, it just needs documenting!
For more complex needs/languages, PN 2 supports “lexers” developed using full programming languages such as C++, Pascal and pretty much any language that can produce a DLL with exports.
Extensions
You can develop extensions for Programmer’s Notepad using C++, the API documentation is here: PN 2 SDK. Note this SDK requires PN version 2.0.7 or greater.
PN 2 Source Code
Programmer’s Notepad 2 is an open source project. The source code can be downloaded using Subversion from:
http://pnotepad.googlecode.com/svn/. The main code development work (trunk) is done in trunk/pnwtl. You can find more details on the pnotepad googlecode page.
If you do not have a Subversion client, then now’s a good time to install one. I recommend Tortoise SVN which is a Windows shell extension allowing you to use Subversion.
You can see the development roadmap.
You will also need the following to build PN 2: