Support for FORTRAN formatting

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
pscrawford
Posts: 1
Joined: Tue Jan 27, 2004 10:53 pm

Support for FORTRAN formatting

Post by pscrawford »

I may be in the minority here, but the colour for C/C++ is such a nice feature that it would be good for similar support for the FORTRAN keywords and, most importantly, to show the column regions that are for continuation/goto numbers, the active code, and the no-man's land beyond this.
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Fortran 77 and 90 syntax def's here: http://www.textpad.com/add-ons/syna2g.html
The column regions thing has been mentioned here before, I'd vote for it! HTH
Then I open up and see
the person fumbling here is me
a different way to be
cid
Posts: 2
Joined: Mon Aug 02, 2004 4:05 pm

Me too

Post by cid »

I really want to get Column 6/73 background colors going....how can I do that?

D
cid
Posts: 2
Joined: Mon Aug 02, 2004 4:05 pm

Minor workaround...

Post by cid »

I set the following for Keywords 6:
&
+

(That's 5 spaces, and the characters)

Then I set the format to be reverse video basically (dark background with white text) and at least I know if I put it in the right spot, and enough continuation lines in your code will make it obvious where that should be.

Also, I use the Macro's to insert 72 character comment lines in my code:
c----------------------------------------------------------------------

so that my comments look like this:
c----------------------------------------------------------------------
c Write Data to file3 output.csv
c----------------------------------------------------------------------

Enough comments in the file will highlight when things go beyond "the dead zone".

I also put a feature in my compile script (not Textpad related) that checks for lines longer than 72 characters before compiling.

Derek
Post Reply