# First created by Stephen Nestinger 2003.02.23

Installation Instructions for C/Ch/C++ Syntax Files
and Running C/Ch/C++ Programs Using the C/C++ 
Interpreter --- Ch from Edit Plus.

You need to download both Ch and Edit Plus to
use the syntax files in this distribution.
For the free C/C++ interpreter --- Ch, please download it from
http://www.softintegration.com. For Edit Plus,
download it from http://www.editplus.com.

It is assumed that the Edit Plus program has been installed
in the standard directory c:\Program Files\Edit Plus2
and named as EDIT_PLUS_HOME.


Copy the following files to the 'Edit Plus' directory, 
EDIT_PLUS_HOME.
  ch.acp
  ch.stx
  template.ch

While running Edit Plus, do the following:

1 Under the Tools drop down menu
2 Open Configure User Tools dialog box

  2.1 Under the Tools category, select the User Tools page
    * Click the 'Add Tool >>' button, choose the 'program' option
      and fill in the following arguments.
      - Menu Text: Execute C/Ch/C++ Script
      - Command: ch.exe
      - Argument: "$(FilePath)"
      - Initial dir: $(FileDir)
      - Capture output: Yes
      - Save open files: Yes
     (Please note: don't add any additional space ahead of the above
 
      arguments, i.e., use "ch.exe", not use " ch.exe". " ch.exe" will

      not be able to execute the code.)

  2.2 Under the Files category, select the 'Settings & syntax' page
    * Click the 'Add' button and fill in the following arguments.
      - Description: Ch
      - File extension: cpp;c;cxx;h;hpp;rc;ch
      - Syntax file: C:\Program Files\EditPlus 2\ch.stx
      - Auto completion: C:\Program Files\EditPlus 2\ch.acp
      - Function pattern: ^[a-z_].*\([^;]*$
    * Check the "Add to 'Common files'" box.

You must close and reopen Edit Plus for the changes
to occur.

Try running the demo programs hello.c, hello.cpp, hello.ch and
plotxy.ch that are located in this directory. 

Have fun!
