Page 1 of 1

EditPlus Support Files (Syntax highlighting, Cliptext, etc)

Posted: Tue May 02, 2006 8:01 pm
by Danielle
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.

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

Posted: Wed Jan 16, 2013 4:28 pm
by timginter
Can you repost the One-Click Compile section? The images are not available any more

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

Posted: Sun Jan 20, 2013 12:19 pm
by Danielle
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.

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

Posted: Sun Jan 20, 2013 7:59 pm
by timginter
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]+)$