User forums > Using Code::Blocks

User defined code folding when writing FORTRAN90

(1/1)

jonmos1:
Hi!

I am using C::B on a Windows10 OS to write a Fortran90 program.

I know that, when writing C, user defined code folding can be done by using a bracket after the commenting syntax:

//{ as the starting point, and
//} as the ending point

I cant get this to work with the FORTRAN platform however, as it uses a different syntax for commenting (exclamation mark).

Is there any solution to this problem?

Best regards,
Jon

oBFusCATed:
By the looks of it the fortran lexer/folder doesn't support this.
I think it is called explicit fold points and it seems to work for c++ and some other languages.
See here for details http://www.scintilla.org/SciTEDoc.html
Probably you can ask on their mailing list if fortran is supported and if not file a feature request.

Navigation

[0] Message Index

Go to full version