Community
    • Login

    Fortran styling 6.9->7.1

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    stylefortran
    2 Posts 1 Posters 2.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Francois de PicciottoF Offline
      Francois de Picciotto
      last edited by Francois de Picciotto

      Hi,

      I was using Notepad++ 6.9 to code some (fixed-form) Fortran. I just updated to 7.1.

      Now it seems the style isn’t applied correctly anymore. 6.9 used to not differenciate between fixed-form and free-form, and everything was fine. Now 7.1 somewhat does, as you can select either fixed form or free form Fortran in the Language menu (but in the Style Configurator menu, only one Fortran instance exists) .

      If I choose fixed-form Fortran (which it is) in the Language menu, the Fortran style is not applied (everything stays plain black).

      If I choose free-form, well then the Fortran style is indeed applied, but since I am using fixed-form code, the style is applied incorrectly (comment unrecognized, line continuation characters unrecognized, etc).

      Can you explain why the Fortran style isn’t applied to fixed-form Fortran ?

      Thanks for the help

      1 Reply Last reply Reply Quote 0
      • Francois de PicciottoF Offline
        Francois de Picciotto
        last edited by

        Similar problem here, except I am indeed using the Default theme, so I’m not sure what is happening here.

        After some more investigation, the problem was in the stylers.xml file, which didn’t get updated. So the problem also happens if at nay point you changed anything that led to the creation of a stylers.xml file.

        I have cleared it, the two different Fortran versions now do appear in the Style Configurator menu, and everything works as expected.

        Solved

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors