geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

symbols.h
Go to the documentation of this file.
1/*
2 * symbols.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2006 The Geany contributors
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21
22#ifndef GEANY_SYMBOLS_H
23#define GEANY_SYMBOLS_H 1
24
25#include "document.h"
26
27#include <glib.h>
28
29G_BEGIN_DECLS
30
31const gchar *symbols_get_context_separator(gint ft_id);
32
33
34#ifdef GEANY_PRIVATE
35
36enum
37{
38 SYMBOLS_SORT_BY_NAME,
39 SYMBOLS_SORT_BY_APPEARANCE,
40 SYMBOLS_SORT_USE_PREVIOUS
41};
42
43
44void symbols_init(void);
45
46void symbols_finalize(void);
47
49
50void symbols_global_tags_loaded(guint file_type_idx);
51
52GString *symbols_find_typenames_as_string(TMParserType lang, gboolean global);
53
54gboolean symbols_recreate_tag_list(GeanyDocument *doc, gint sort_mode);
55
56gint symbols_generate_global_tags(gint argc, gchar **argv, gboolean want_preprocess);
57
59
60gboolean symbols_goto_tag(const gchar *name, gboolean definition);
61
62gint symbols_get_current_function(GeanyDocument *doc, const gchar **tagname);
63
64gint symbols_get_current_scope(GeanyDocument *doc, const gchar **tagname);
65
66#endif /* GEANY_PRIVATE */
67
68G_END_DECLS
69
70#endif /* GEANY_SYMBOLS_H */
const gchar * name
Definition: document.c:3219
Document related actions: new, save, open, etc.
Structure for representing an open tab with all its properties.
Definition: document.h:81
void symbols_reload_config_files(void)
Definition: symbols.c:142
int symbols_generate_global_tags(int argc, char **argv, gboolean want_preprocess)
Definition: symbols.c:1656
gint symbols_get_current_function(GeanyDocument *doc, const gchar **tagname)
Definition: symbols.c:2497
GString * symbols_find_typenames_as_string(TMParserType lang, gboolean global)
Definition: symbols.c:206
gboolean symbols_recreate_tag_list(GeanyDocument *doc, gint sort_mode)
Definition: symbols.c:1597
void symbols_finalize(void)
Definition: symbols.c:2694
gboolean symbols_goto_tag(const gchar *name, gboolean definition)
Definition: symbols.c:2197
void symbols_global_tags_loaded(guint file_type_idx)
Definition: symbols.c:177
void symbols_show_load_tags_dialog(void)
Definition: symbols.c:1719
gint symbols_get_current_scope(GeanyDocument *doc, const gchar **tagname)
Definition: symbols.c:2504
void symbols_init(void)
Definition: symbols.c:2676
const gchar * symbols_get_context_separator(gint ft_id)
Gets the context separator used by the tag manager for a particular file type.
Definition: symbols.c:254
gint TMParserType
Definition: tm_parser.h:52