giorgifafa / editra

Automatically exported from code.google.com/p/editra
0 stars 0 forks source link

.f08 file extension not recognized OR ability to customize file extensions through preferences #756

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The .f08 file extension (Fortran 2008) is not recognized by Editra as 
Fortran, and any syntax highlighting has to be selected manually via lexers (95 
highlighting being the choice among what is available making sense). 

What is the expected output? What do you see instead?
In a way it makes sense to not use Fortran 95 highlighting for Fortran 2008, 
but Fortran 95 is to me preferred over no highlighting. 

Alternatively, if grouping Fortran 2008 (And possibly 2003) in with 95 would be 
problematic, could an option to edit the extensions in 
Preferences>Document>Syntax Highlighting be added? (Unless such an option 
already exists, and I am not finding it). 

What version of the product are you using? On what operating system?
Platform Info: (linux2, python 2.7.3,wxGTK 2.8.12.1, unicode, gtk2, 
wx-assertions-off, SWIG-1.3.29)

What method of install was your version installed with (Binary/Source)?
Source

Original issue reported on code.google.com by NeruYume on 21 Jul 2012 at 7:22

GoogleCodeExporter commented 9 years ago
Editra 0.7.01

Original comment by NeruYume on 21 Jul 2012 at 7:29

GoogleCodeExporter commented 9 years ago
Hi,

You can edit the extensions in the Preference dialog.

Just click on the right column and you can start editing the list.

Original comment by CodyPrec...@gmail.com on 24 Jul 2012 at 6:31

GoogleCodeExporter commented 9 years ago
If your unable to edit note this may be related to issue reported in issue 745 
which so far appears to be linux specific. Haven't reproduced the issue yet.

Original comment by CodyPrec...@gmail.com on 24 Jul 2012 at 6:36

GoogleCodeExporter commented 9 years ago
Ability to edit extensions has been fixed in issue 745.

Scintilla in current wxPython 2.8 releases don't have direct support for 
Fortran 2003/2008 unfortunately so Fortran 95 lexer is closest one to use 
currently. Newer version of scintilla have extended fortran support which will 
be integrated/enabled when new wxpython releases become more widely available 
(i.e wxPython 2.9/3.0).

Closing as solved by issue corrected in issue 745. See there for way to 
workaround editing extensions in current release.

Original comment by CodyPrec...@gmail.com on 28 Jul 2012 at 3:37