News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

User defined code folding when writing FORTRAN90

Started by jonmos1, September 25, 2016, 02:15:55 PM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]