You are here: PSPad forum > Bug report / Hlášení chyb > Re: Comment Line in self defined F77-INI-File

Re: Comment Line in self defined F77-INI-File

#1 Comment Line in self defined F77-INI-File

Posted by: ellocco | Date: 08/12/2009 15:43 | IP: IP Logged

Hi,

some people still use Fortran 77, it would be nice
to have a predefined F77-INI File or to be able to
define a propper one.
There are at least two problems:

1.) Comment Line
A comment starts in the first column with a "C"
but the letter "C" in different columns should
not indicate the begin of a Comment. At the moment
the option "Comment starts with C" has the effect,
that the "KeyWord" CHARACTER is not highlighted
anymore.

2.) It would be nice to have special treatment
of a character in the column 6 (continuation of
the last line)

Regards

Stefan

P.S.:
What is the Code-Explorer mode ftFTR
(is it a mode for fortran?)

Options: Reply | Quote | Up ^


#2 Re: Comment Line in self defined F77-INI-File

Posted by: ellocco | Date: 02/07/2010 00:41 | IP: IP Logged

Hello,

I repeat my whish for the next release:
1.) A proper F77 high lighter would be fine
But it would also be fine to have a third
comment line indicator starting with "C".
At the moment there are two: "C" & "C*",
it would be fine to have a third:
"C+Space-Char"

Or to be able to define comment indicator
by my self.

But if my wishes do not become "top priorities",
here is a workaround for people that want to
define there own F77 or F66 highlighter ini-File.

If you put a letter "F" in the first column
you get rid of the problem, that a code line
starting with a "C" as the first non-Space char
in the line will be marked as a comment line:
C      Example:
       CLOSE(unit=10)
Both lines are comment, if "C" is a "comment begin"-
indicator.
C      This is the workaround:
F      CLOSE(unit=)

Now you can tell the compiler, that "F" in the first
column is fine and you are done smiling smiley

Regards,

Stefan

P.S.:
The highlighting of F77-code is fine in the editors
"geany"(version > 0.17) and scite (the highlighting
in scite is very flexible, but the configuration is
hard work)

Edited 1 time(s). Last edit at 02/07/2010 01:23 by ellocco.

Options: Reply | Quote | Up ^


#3 Re: Comment Line in self defined F77-INI-File

Posted by: pspad | Date: 02/07/2010 15:07 | IP: IP Logged

What is wrong on build-in Fortran highlighter?

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák