jEdit Community - Resources for users of the jEdit Text Editor
Editing fortran source code
Submitted by GKalman on Tuesday, 26 June, 2007 - 14:00
Apparently Java is the deafult case. I have no problem when working with a "foo.java" file to insert a "line comment". Then "//" appears correctly in front of the selected line.
However, when I try to do same for a "foo.f90" file, jEdit ignores the command (instead of inserting "!").

My setup for the editing dialog: (with WindowsXP)
Utilities/Global Options/jEdit/Editing/Change Settings for mode: fortran
File name glob: *.f90
Default edit mode: fortran
Then push buttons: Apply & OK

Then from the "Edit" drop-down menu:
Edit/Source/Line Comment

Result on the highlighted line: command IGNORED
Although, as I said, with a Java file I had no problem doing the same.

Why?

First-time user.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
bug in mode file
by Robert Schwenn on Wed, 27/06/2007 - 20:03
Please look at this bug tracker item, download the attached mode definition file and copy it into the modes directory under jEdit's home.

After a restart of jEdit the bug should be fixed.

Robert
 
My Q was about "line comments" and NOT "indentation"
by GKalman on Wed, 27/06/2007 - 23:51
Appreciated your reply, but it did NOT solve my problem;
namely:

How to add and/or remove a "line comment", i.e. a "!"-mark in front of a selected line (or more than one selected lines)???

My Question relates to editing files with *.f90 extension!
 
Sorry! Ignore previous request
by GKalman on Thu, 28/06/2007 - 19:15
Looks like your "234113: fortran.xml" file contains the info requested. Thanks.
User login
Browse archives
« April 2014  
MoTuWeThFrSaSu
 
1
3
4
5
6
7
8
9
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
Context Free Art (*.cfdg)   0.31   36268
German Localization light   4.4.2.1   27653
R Edit Mode - extensive version   0.1   10585
Advanced HTML edit mode   1.0   10043
JBuilder scheme   .001   9997
Matlab Edit Mode   1.0   9908
BBEdit scheme   1.0   9554
ColdFusion scheme   1.0   9547
jEdit XP icons   1.0   9367
XP icons for jEdit   1.1   9357