CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Command editor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2004, 06:07
Default Command editor
  #1
Andrea
Guest
 
Posts: n/a
There is a text editor used for to write command file with color facilities like fortan or c editor?
  Reply With Quote

Old   May 12, 2004, 18:16
Default Re: Command editor
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi Andrea,

No, it does not exist. Feel free to write one, it would be quite useful!

Regards, Glenn
  Reply With Quote

Old   May 23, 2004, 01:00
Default Re: Command editor
  #3
Jeff
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 00:04.