Support for FORTRAN formatting
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 1
- Joined: Tue Jan 27, 2004 10:53 pm
Support for FORTRAN formatting
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.
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
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
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
the person fumbling here is me
a different way to be
Minor workaround...
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
&
+
(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