2008-12-27 12:55:04 +00:00
|
|
|
/*
|
|
|
|
* projectprivate.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2012-06-18 01:13:05 +02:00
|
|
|
* Copyright 2008-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
|
|
|
* Copyright 2008-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
2008-12-27 12:55:04 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2012-08-24 19:25:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2008-12-27 12:55:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef GEANY_PROJECTPRIVATE_H
|
|
|
|
#define GEANY_PROJECTPRIVATE_H 1
|
|
|
|
|
2014-05-18 15:49:22 -07:00
|
|
|
#include "project.h"
|
2008-12-27 12:55:04 +00:00
|
|
|
|
2014-05-18 17:31:51 -07:00
|
|
|
#include <glib.h>
|
|
|
|
|
2014-05-18 17:07:50 -07:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2008-12-27 12:55:04 +00:00
|
|
|
typedef struct GeanyProjectPrivate
|
|
|
|
{
|
2014-10-02 17:50:39 +01:00
|
|
|
// file prefs
|
2012-01-19 18:09:29 +00:00
|
|
|
gboolean final_new_line;
|
|
|
|
gboolean strip_trailing_spaces;
|
|
|
|
gboolean replace_tabs;
|
|
|
|
gboolean ensure_convert_new_lines;
|
2014-10-02 17:50:39 +01:00
|
|
|
|
|
|
|
// editor prefs
|
|
|
|
struct GeanyIndentPrefs *indentation;
|
|
|
|
gboolean line_wrapping;
|
|
|
|
gint line_break_column;
|
|
|
|
gboolean auto_continue_multiline;
|
|
|
|
gint long_line_behaviour; /* 0 - disabled, 1 - follow global settings, 2 - enabled (custom) */
|
|
|
|
gint long_line_column; /* Long line marker position. */
|
|
|
|
|
2014-05-18 15:49:22 -07:00
|
|
|
GPtrArray *build_filetypes_list; /* Project has custom filetype builds for these. */
|
2008-12-27 12:55:04 +00:00
|
|
|
}
|
|
|
|
GeanyProjectPrivate;
|
|
|
|
|
2014-05-18 17:07:50 -07:00
|
|
|
G_END_DECLS
|
2008-12-27 12:55:04 +00:00
|
|
|
|
2014-05-18 17:07:50 -07:00
|
|
|
#endif /* GEANY_PROJECT_H */
|