Recognize #!/bin/dash as shebang for Shell files (closes #3470986)
[geany-mirror.git] / src / filetypesprivate.h
blobdcdc7ee3ac6e50cb9ef8f9ba3f10d8b4bc00faee
1 /*
2 * filetypesprivate.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2008-2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2008-2011 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 * MA 02110-1301, USA.
24 #ifndef GEANY_FILETYPES_PRIVATE_H
25 #define GEANY_FILETYPES_PRIVATE_H
27 /* Private GeanyFiletype fields */
28 typedef struct GeanyFiletypePrivate
30 GtkWidget *menu_item; /* holds a pointer to the menu item for this filetype */
31 gboolean keyfile_loaded;
32 GRegex *error_regex;
33 gchar *last_error_pattern;
34 gboolean custom;
35 gint symbol_list_sort_mode;
36 gboolean xml_indent_tags; /* XML tag autoindentation, for HTML and XML filetypes */
38 GeanyFiletypePrivate;
40 #endif