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

Comment folding in fortran code #502

Closed
Calu85 opened this issue May 20, 2015 · 3 comments
Closed

Comment folding in fortran code #502

Calu85 opened this issue May 20, 2015 · 3 comments

Comments

@Calu85
Copy link

Calu85 commented May 20, 2015

Hi.
I have tried to make geany fold my multilines comments of fortran code, without succes.
I copied filetype.fortran to my local folder and modified this file. I tried adding the lines
comment_open=!>
comment_close=!!
and also
[lexer_properties]
fold.comment.fortran=1

I chose !> to make it compatible with doxygen blocks of comments in fortran. Then I tried other combinations but none worked.
Am I missing something? Is this feature not supported for fortran? If not, can it be added? I would be glad to help with this if I can.

@elextr
Copy link
Member

elextr commented May 20, 2015

The folding code for fortran contains the comments

    //
    // bool foldComment = styler.GetPropertyInt("fold.comment") != 0;
    // Do not know how to fold the comment at the moment.
    //

So I guess its not supported. The lexer is part of the Scintilla project which is the editor we use, but is a separate project.

@erickpaquin
Copy link

@Calu85 , Is this PR still relevant? If not can it be closed? Thanks.

@Calu85 Calu85 closed this as completed Jan 9, 2023
@Calu85
Copy link
Author

Calu85 commented Jan 9, 2023

I think this is no longer relevant.

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

3 participants