|
|
|
|
Adding A New File Type
WinEdit 2000 comes pre-configured to work with many different source code files. If the file type you use is not listed in the View.Options.Filetypes dialog box, click Edit..., then New. Then follow these steps:
- In the AddNewFileType dialog box, enter a one word description of the new file type you wish to add. For example, if you were creating a new file type for Perl files, you would enter "Perl" (without the quotes). Click OK.
- Enter the file extensions associated with this file type in the EditFileTypes entry box, separated by commas if there is more than one. Click OK.
- Select the editing options you wish to use with this file type. Enter the command used to compile this file type in the Compile entry box.
- Click the Syntax Coloring... button and enter your choice for color options and comment delimiters for this file type.
- The final step is to edit the list of keywords for this file type. The keyword list is an ASCII file with the extension .CLR, in the WinEdit\System\Syntax directory. The file has the same base name as the file type you just created. For example, keywords for Perl files would be listed in a file named PERL.CLR. Open this file in WinEdit and add the list of keywords associated with this file type.
Back to Support Main Page
|
|
|
|
|