How to add a new type of file

Discussion Forums discussion How to add a new type of file

This topic contains 0 voices and has 1 reply.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
September 20, 2010 at 10:19 am #5087

DaMMratter
Member

Hi all,

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 http://www.blaise.com.

The syntax is something like this:

IF (AD1a1 = C01 OR AD1a1 = C02) THEN

counter := counter + 1

ENDIF

{} is used for commenting

Is it possible to perform this?

Thanks for your time.

September 20, 2010 at 1:51 pm #17355

simon
Key Master

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:

1. Example custom scheme for powershell:

http://code.google.com/p/pnotepad/downloads/detail?name=powershell.schemedef&can=2&q=

2. Some documentation for the file format:

http://pnotepad.org/docs/howto/add_support_for_your_language

Feel free to ask on here for help if you have issues. I know this area needs some improvement and all feedback welcome.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.