EditPlus Support Files (Syntax highlighting, Cliptext, etc)

This is where you can post about tools related specifically to the POL Server itself

Moderator: POL Developer

Post Reply
Danielle
Grandmaster Poster
Posts: 104
Joined: Tue Feb 07, 2006 3:32 pm
Location: Pittsburgh, Pennsylvania
Contact:

EditPlus Support Files (Syntax highlighting, Cliptext, etc)

Post by Danielle » Tue May 02, 2006 8:01 pm

Included at the end of this post are the Syntax Highlighting, Cliptext, and Auto-Complete files to assist you in writing eScript with the program EditPlus.

Some Features Highlights:
  • Syntax Highlighting for eScript and CFG files; each get set up seperatly.
  • Case correction for keywords, functions and constants.
  • Valid with the 2006-03-17 POL 96 Core and the 96 Distro.
  • Also retains backwards compatability with older core releases, and will highlight obsolete/deprecated functions/keywords in a seperate color (maroon by default).
Setting up for eScript Files:

Go to the "Tools" menu and then the "Preferences..." option. Select the "Files > Settings & Syntax" category, click the "Add" button abd set it up according to the below image...

Image

You can set the Word Wrap and Indent features to your own personal tastes.

Be sure to input the Function Pattern as shown, "^[ \t]*program|function ", so that you can use the Function List (Ctrl+F11) to see all the programs/functions defined in the script.

Setting up for POL CFG Files:

Go to the "Tools" menu and then the "Preferences..." option. Select the "Files > Settings & Syntax" category, click the "Add" button and set it up according to the below image...

Image

You can set the Word Wrap and Indent features to your own personal tastes.

Be sure to input the Function Pattern as shown, "^[^ \{\}\#/\t]+. .+", so that you can use the Function List (Ctrl+F11) to see all the CFG KEYS defined in the configuration file. This only works good if you have properly formatted and indented code.

Setting up One-Click Compile:

Go to the "Tools" menu and then the "Preferences..." option. Select the "Tools > User Tools" category, click the "Add Tool >>" button, then the "Program" option from the popup menu. Next set it up based on (but not exactly like) the below image...

Image

Obviously you'll have to set it up according to where you have ecompile.exe stored.

The Ouput Pattern is set up as seen in the below picture...

Image

Be sure the Regular Expression, "([0-9]+)$", is input correctly.
Attachments
editplus.zip
Syntax Highlighting, Cliptext, and AutoComplete files for EditPlus and POL 96
(19.34 KiB) Downloaded 298 times

User avatar
timginter
Neophyte Poster
Posts: 37
Joined: Tue Apr 22, 2008 6:25 am

Re: EditPlus Support Files (Syntax highlighting, Cliptext, e

Post by timginter » Wed Jan 16, 2013 4:28 pm

Can you repost the One-Click Compile section? The images are not available any more

Danielle
Grandmaster Poster
Posts: 104
Joined: Tue Feb 07, 2006 3:32 pm
Location: Pittsburgh, Pennsylvania
Contact:

Re: EditPlus Support Files (Syntax highlighting, Cliptext, e

Post by Danielle » Sun Jan 20, 2013 12:19 pm

I have a backup of the Nightscape website, where the images were hosted, somewhere- soon as I locate it i'll upload the images if they are part of the backup.

User avatar
timginter
Neophyte Poster
Posts: 37
Joined: Tue Apr 22, 2008 6:25 am

Re: EditPlus Support Files (Syntax highlighting, Cliptext, e

Post by timginter » Sun Jan 20, 2013 7:59 pm

Ok, thanks, though a description of which field and what command to put in it would be fine, just in case the image host goes down again


EDIT:
Ok, no rocket science, I just checked EditPlus documentation

Change [C:\EXAMPLE\POL] to where you actually have POL on your disc

Command: [C:\EXAMPLE\POL]\scripts\ecompile.exe
Argument: $(FilePath)
Action: Capture Output

Click Output pattern -> Regular expression: type in: ([0-9]+)$

Post Reply