Change comment character to '!' for Fortran 90 (closes #2438423).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3393 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-12-17 16:01:09 +00:00
parent ae35f40e6e
commit 5db30d1067
3 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,8 @@
Make Ctrl-click working again to create rectangular selections when
no braces and valid definitions are below the cursor (to whose would
be jumped then).
* src/filetypes.c, data/filetypes.fortran:
Change comment character to '!' for Fortran 90 (closes #2438423).
2008-12-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -34,7 +34,7 @@ user_functions=cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg d
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=c
comment_open=!
comment_close=
# set to false if a comment character/string should start at column 0 of a line, true uses any

View File

@ -187,7 +187,7 @@ static void init_builtin_filetypes(void)
ft->title = g_strdup_printf(_("%s source file"), "Fortran (F90)");
ft->extension = g_strdup("f90");
ft->pattern = utils_strv_new("*.f90", "*.f95", "*.f03", NULL);
ft->comment_open = g_strdup("c");
ft->comment_open = g_strdup("!");
ft->comment_close = NULL;
ft->group = GEANY_FILETYPE_GROUP_COMPILED;