Menu

Fortran display problem

Azrael3000
2008-12-28
2012-11-13
  • Azrael3000

    Azrael3000 - 2008-12-28

    Hi!

    I'm using N++ since a very short time only but until now I'm very pleased with it.
    I started working on SPHysics, a program for simulation of water waves which is written in Fortran.

    Now I discovered the following problems with various source files. You can see a screenshot here:
    http://www.amconception.de/files/npp-problem.jpg

    The Syntax highlighting isn't working properly. Since the program isn't able to detect the code properly also code blocks (program, if, while, etc.) aren't handled correctly.

    I don't have the very newest version since I had problems with plugins, so my version is 5.0.3.
    If updating already fixes the problem please let me know.

    Thanks in advance for any help,
    Arno

     
    • Azrael3000

      Azrael3000 - 2009-01-07

      Well since I now actually started programming in Fortran, I changed some settings in preferences, namely tabs as spaces and tabsize 2 then it works pretty good and you have quite some freedom

       
    • Errol

      Errol - 2009-01-05

      Yes I have the same problem.  The default style configurator settings for Fortran seem to kick in only when there are at least 6 characters (spaces, tabs) at the start of the line.  I guess this faithfully reflects the format of the old Hollerith punch cards (I learnt Fortran in 1966) but can this setting be changed?

       
    • Azrael3000

      Azrael3000 - 2009-01-05

      Thanks Errol, I can confirm that behavior with 6 chars.