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
Folding is not right for some f90 file #1496
Comments
Folding is provided by the Scintilla editing component Geany uses, please report this to that project and report the bug number here for tracking. |
Notepad++ also uses Scintilla AFAIK. Need more details, for example Geany version, operating system, description of problem, expected result, etc. "Not quite right" is not actionable, unless perhaps you're a Fortran programmer who has used Notepad++. |
@codebrainz Ok, this is what geany folds http://pasteboard.co/5mQRcl2nG.png |
As @codebrainz said what version of geany |
@elextr Ok, geany 1.29, win 10 system |
I can reproduce this, and it's because we list The question is probably whether To go further we need more Fortran knowledge, but in the meantime you can remove the PS: please avoid showing different input and expect them to compare equal, I understand it's not a real factor here, but my first impression seeing your two captures being of different files (simply look at the line numbers) was to believe you overlooked your test and there was no suggestion the file not working in Geany actually worked in NotePad++. |
http://fortranwiki.org/fortran/show/Keywords says that in F77 (and therefore F90) the keyword is Geany does not distinguish versions of Fortran (or any language) and so the keyword lists are usually a combination up to the latest version. As @b4n says, you would need to make yourself a custom version of the filetype file. |
Here is a fortran 90 file https://pastebin.com/siCWfA5G
If you fold the code in geany. You will find the folding is not right. You can verify this compared to notepad++
The text was updated successfully, but these errors were encountered: