Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fortran - fixed form] Comments issue #9

Closed
jpsferreira opened this issue Apr 20, 2016 · 0 comments
Closed

[Fortran - fixed form] Comments issue #9

jpsferreira opened this issue Apr 20, 2016 · 0 comments

Comments

@jpsferreira
Copy link

ssue: Comments between long equations don't change color.

Reproduction Steps:

  1. Starting from a long equation like:
                   DDSDDEFIB3(I,J,K,L)=
C                  INTERACTION BETWEEN FIBERS CONTRIBUTION
     +              -(TWO/THREE)*(S8(I,J)*UNIT(K,L)
     +                                          +UNIT(I,J)*S8(K,L))+
     +             AUX2*DUDI8*(UNIT4-(ONE/THREE)
     +                                          *UNIT(I,J)*UNIT(K,L))+
     +             DET*(
     +             D2UD2I8*SS8(I,J)*SS8(K,L)+
     +             D2DUDI1DI8*(SS2(I,J)*SS8(K,L)+SS8(I,J)*SS2(K,L))+
     +             D2DUDI2DI8*(SS3(I,J)*SS8(K,L)+SS8(I,J)*SS3(K,L))
     +                )

If you insert a comment for example, in the line before "DET*(...", the comment remains in same color of the equation:

                   DDSDDEFIB3(I,J,K,L)=
C                  "INTERACTIONS CONTRIBUTION"
     +              -(TWO/THREE)*(S8(I,J)*UNIT(K,L)
     +                                          +UNIT(I,J)*S8(K,L))+
     +             AUX2*DUDI8*(UNIT4-(ONE/THREE)
     +                                          *UNIT(I,J)*UNIT(K,L))+
C                  "COMMENT HERE DON'T HAVE THE SAME COLOR OF THE ONE ABOVE :("
     +             DET*(
     +             D2UD2I8*SS8(I,J)*SS8(K,L)+
     +             D2DUDI1DI8*(SS2(I,J)*SS8(K,L)+SS8(I,J)*SS2(K,L))+
     +             D2DUDI2DI8*(SS3(I,J)*SS8(K,L)+SS8(I,J)*SS3(K,L))
     +                )

Expected behavior:

COMMENT BETWEEN THE LINES STARTING WITH PLUS SIGN CORRECTLY FORMATTED

Observed behavior:

COMMENT REMAINS RED, THE SAME COLOR OF THE EQUATIONS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant