5199Re: Code folding problem with fortran77 code
- Apr 1, 2007Yes, it's indentation based, and it bases on the first column.
It will be better that if it can understand the code and works under
Hope new version can solve this problem, or at least use a user-
defined field as I suggested.
--- In email@example.com, "bpat1434" <brett@...> wrote:
> --- In firstname.lastname@example.org, "tju329" <tju329@> wrote:
> > It seems that code folding does not work well on fortran77 code.
> > first 6 column of each line should not be considered when code
> > in fortran77.(see example code below, and have a test)Is there a
> > solve this problem in the 2.31 release? (or supply a field to
> > start column for each type of code about code folding in the next
> > release)example code
> > DIMENSION A(4,4),B(4),X(4)
> > DOUBLE PRECISION A,B,I,J
> > DATA A/7.0, 9.0, -2.0, 1.0,
> > * 2.0, 15.0, -2.0, 3.0,
> > * 1.0, 3.0, 11.0, 2.0,
> > * -2.0, -2. 0,5.0, 13.0/
> > DATA B/4.0, 7.0, -1.0, 0.0/
> > C Do something
> > DO I = 1, 4
> > DO 10 J = 1, 4
> > C Output
> > WRITE(*,20) ((A(I,J),I=1,4),J=1,4)
> > 10 CONTINUE
> > WRITE(*,20) (B(I),I=1,4)
> > END DO
> > 20 FORMAT(1X,D15.6)
> > END
> > [Non-text portions of this message have been removed]
> As far as I know, the code folding is still indentation based.
> I have suggested to Sangil a couple times that he look into the code
> folding technique of other programs like Notepad++ to see how they
> it. I'd like to collapse an entire function to make file reading
> easier. It'd also be nice to collapse sections of HTML as well.
- << Previous post in topic