Introduce new option in C::B editor settings: to highlight columns in fixed-form fortran code.
Although obsolete, this form is widely used in legacy fortran code such as f77.
There are a lot of classic source code suppplied in f77 sources.
Proper highlighting in editor can help to identify a number of errors as early as possible.
f77 code highlighting is desirable to use by default for source code files with extensions ".f", ".for", "*.f77".
In f77, line length is limited to 72 characters. This limit should be highlighted by line.
In each line, characters from 1 to 5 are reserved for numeric labels (columns from 1 through 5).
Column 6 is reserved for line continuation mark. Fortran operators occupy columns from 7-th through 72.
It is desireble to highlight 6-th column by it own background color, which is slightly different from overall background color. E.g., if overall background is white, the choice of light green background for 6-th column is quite OK.
If this is supported in scintilla/scite we could do it. Otherwise someone needs to first add such lexer to scintilla and then we could use it.
I think, it is possible to change the background of 6-th column in C::B settings:
Settings->Editor->Syntax highlighting, Fortran77. Change color for "Continuation".
I think, it would be good to add this change to the default color scheme in C::B. I could provide the patch.
@darmar: Please do so. Thank you.
The required patch file is attached.
Can you provide a commit message, too?
Applied in trunk. Sorry for the delay.
Thank you, Teodor.