Updated Spanish translation
[anjuta-git-plugin.git] / plugins / sourceview / sourceview-private.h
blob497e27e247e1c43957d137998e5f908c9c3cd5fb
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.
6 *
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"
21 #include "anjuta-document.h"
23 #include "assist-window.h"
24 #include "assist-tip.h"
25 #include "sourceview-cell.h"
27 #include <libanjuta/anjuta-plugin.h>
28 #include <glib.h>
30 struct SourceviewPrivate {
31 /* GtkSouceView */
32 AnjutaView* view;
34 /* GtkSourceBuffer */
35 AnjutaDocument* document;
37 /* Filename */
38 gchar* filename;
40 /* Highlight Tag */
41 GtkTextTag *important_indic;
42 GtkTextTag *warning_indic;
43 GtkTextTag *critical_indic;
45 /* VFS Monitor */
46 GnomeVFSMonitorHandle* monitor;
47 gchar* last_saved_content;
48 gboolean monitor_delay;
50 /* Preferences */
51 AnjutaPreferences* prefs;
52 GList* gconf_notify_ids;
54 /* Popup menu */
55 GtkWidget* menu;
57 /* Bookmarks */
58 GList* bookmarks;
59 GList* cur_bmark;
61 /* Goto line hack */
62 gboolean loading;
63 gboolean saving;
64 gint goto_line;
66 /* Idle marking */
67 GSList* idle_sources;
69 /* Assist */
70 AssistWindow* assist_win;
71 AssistTip* assist_tip;
73 /* Hover */
74 gchar* tooltip;
75 SourceviewCell* tooltip_cell;
77 /* Plugin */
78 AnjutaPlugin* plugin;
81 #endif