Add project prefs for line breaking column & multiline comments
[geany-mirror.git] / src / projectprivate.h
blob5d64fdf18a4e1e9ee7a83da31d50ec8949881313
1 /*
2 * projectprivate.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2008-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5 * Copyright 2008-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
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 along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef GEANY_PROJECTPRIVATE_H
24 #define GEANY_PROJECTPRIVATE_H 1
26 #include "project.h"
28 #include <glib.h>
30 G_BEGIN_DECLS
32 typedef struct GeanyProjectPrivate
34 // file prefs
35 gboolean final_new_line;
36 gboolean strip_trailing_spaces;
37 gboolean replace_tabs;
38 gboolean ensure_convert_new_lines;
40 // editor prefs
41 struct GeanyIndentPrefs *indentation;
42 gboolean line_wrapping;
43 gint line_break_column;
44 gboolean auto_continue_multiline;
45 gint long_line_behaviour; /* 0 - disabled, 1 - follow global settings, 2 - enabled (custom) */
46 gint long_line_column; /* Long line marker position. */
48 GPtrArray *build_filetypes_list; /* Project has custom filetype builds for these. */
50 GeanyProjectPrivate;
52 G_END_DECLS
54 #endif /* GEANY_PROJECT_H */