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.

Download Here

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.

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. You can find more information in the online docs: Adding support for your language.

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 SDK

You can develop extensions for Programmer’s Notepad using C++, the SDK includes all the bits you need along with both template and demo projects.

Get the SDK

There’s also browsable documentation online generated from the plugin interface code. Note this SDK requires PN version 2.0.9 or greater, ask in the forums if you need help building for an older version. For more information on how to write an extension see the online documentation: Writing your First Extension.

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.

There are full instructions for building PN 2 on the docs site.