libanjuta: Added "opened" signal to IAnjutaFile interface
[anjuta.git] / plugins / sourceview / sourceview-private.h
blob53263889939df9fc0bc5d46fd6493f3a7b3ca019
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 GList* notify_ids;
50 /* Popup menu */
51 GtkWidget* menu;
53 /* Message area */
54 GtkWidget* message_area;
56 /* Editor window */
57 GtkWidget* window;
59 /* Goto line hack */
60 gboolean loading;
61 gint goto_line;
63 /* Idle marking */
64 GSList* idle_sources;
66 /* Assist */
67 AssistTip* assist_tip;
69 /* Hover */
70 gchar* tooltip;
71 SourceviewCell* tooltip_cell;
73 /* To recover the deleted text */
74 gchar *deleted_text;
76 /* Reload */
77 GSList* reload_marks;
78 gint reload_line;
80 /* Plugin */
81 AnjutaPlugin* plugin;
84 #endif