Author Topic: User defined code folding when writing FORTRAN90  (Read 2172 times)

jonmos1

  • Guest
User defined code folding when writing FORTRAN90
« on: September 25, 2016, 02:15:55 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: User defined code folding when writing FORTRAN90
« Reply #1 on: September 25, 2016, 03:03:12 pm »
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!]