Added byline
[anjuta.git] / plugins / sourceview / sourceview-private.h
bloba5d19691942717141046efda38bb57e1dea27205
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #ifndef SOURCEVIEW_PRIVATE_H
18 #define SOURCEVIEW_PRIVATE_H
20 #include "anjuta-view.h"
22 #include "assist-tip.h"
23 #include "sourceview-cell.h"
24 #include "sourceview-io.h"
26 #include <libanjuta/anjuta-plugin.h>
27 #include <glib.h>
29 struct SourceviewPrivate {
30 /* GtkSouceView */
31 AnjutaView* view;
33 /* GtkSourceBuffer */
34 GtkSourceBuffer* document;
36 /* Highlight Tag */
37 GtkTextTag *important_indic;
38 GtkTextTag *warning_indic;
39 GtkTextTag *critical_indic;
41 /* IO */
42 SourceviewIO* io;
43 gboolean read_only;
45 /* Preferences */
46 GSettings* settings;
47 GSettings* msgman_settings;
48 GSettings* editor_settings;
49 GList* notify_ids;
51 /* Popup menu */
52 GtkWidget* menu;
54 /* Message area */
55 GtkWidget* message_area;
57 /* Editor window */
58 GtkWidget* window;
60 /* Goto line hack */
61 gboolean loading;
62 gint goto_line;
64 /* Assist */
65 AssistTip* assist_tip;
67 /* Hover */
68 gchar* tooltip;
69 SourceviewCell* tooltip_cell;
71 /* To recover the deleted text */
72 gchar *deleted_text;
74 /* Reload */
75 GSList* reload_marks;
76 gint reload_line;
78 /* Plugin */
79 AnjutaPlugin* plugin;
82 #endif