|
[Sponsors] |
May 12, 2004, 07:07 |
Command editor
|
#1 |
Guest
Posts: n/a
|
There is a text editor used for to write command file with color facilities like fortan or c editor?
|
|
May 12, 2004, 19:16 |
Re: Command editor
|
#2 |
Guest
Posts: n/a
|
Hi Andrea,
No, it does not exist. Feel free to write one, it would be quite useful! Regards, Glenn |
|
May 23, 2004, 02:00 |
Re: Command editor
|
#3 |
Guest
Posts: n/a
|
I've used nedit for years with it's syntax highlighting and added my own file type definitions for CFX-4 and CFX-5 command files (.fc and .ccl). You're best off learning from the other definitions (like C++ and Fortran) and then creating syntax rules for keywords and commands based on how they appear in the file (i.e. commands are followed by a ':' an keywords are followed by an '='). You can copy the rules for text and numeric constants also from these other syntax rules.
nedit is available on the internet free for most unix workstations. There's a semi-port for Windows but you have to run an X emulator and I've found it's more trouble than it's worth. I think the Windows software EditPadPro will do something similar, although you have to buy the commercial version. The free lite version doesn't do syntax highlighting. Jeff |
|
|
|