Page 1 of 1

Support for FORTRAN formatting

Posted: Tue Jan 27, 2004 10:58 pm
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.

Posted: Tue Jan 27, 2004 11:21 pm
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

Me too

Posted: Mon Aug 02, 2004 4:09 pm
by cid
I really want to get Column 6/73 background colors going....how can I do that?

D

Minor workaround...

Posted: Mon Aug 02, 2004 4:22 pm
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