Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Sat, 18 Oct 2014 19:40:10 UTC Commit: 8c25ff871c2770fe5a53974f8e0ed6f482dee1ab https://github.com/geany/geany/commit/8c25ff871c2770fe5a53974f8e0ed6f482dee1...
Log Message: ----------- Make tm_workspace_update() public
Modified Paths: -------------- plugins/geanyfunctions.h src/plugindata.h src/plugins.c tagmanager/src/tm_workspace.h
Modified: plugins/geanyfunctions.h 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -354,6 +354,8 @@ geany_functions->p_tm->tm_source_file_free #define tm_workspace_remove_source_file \ geany_functions->p_tm->tm_workspace_remove_source_file +#define tm_workspace_update \ + geany_functions->p_tm->tm_workspace_update #define search_show_find_in_files_dialog \ geany_functions->p_search->search_show_find_in_files_dialog #define highlighting_get_style \
Modified: src/plugindata.h 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -604,6 +604,7 @@ typedef struct TagManagerFuncs void (*tm_source_file_update) (TMSourceFile *source_file, gboolean update_workspace); void (*tm_source_file_free) (TMSourceFile *source_file); gboolean (*tm_workspace_remove_source_file) (TMSourceFile *source_file, gboolean do_free, gboolean update); + void (*tm_workspace_update) (void); } TagManagerFuncs;
Modified: src/plugins.c 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -293,7 +293,8 @@ static TagManagerFuncs tagmanager_funcs = { &tm_workspace_add_source_file, &tm_source_file_update, &tm_source_file_free, - &tm_workspace_remove_source_file + &tm_workspace_remove_source_file, + &tm_workspace_update };
static SearchFuncs search_funcs = {
Modified: tagmanager/src/tm_workspace.h 10 lines changed, 5 insertions(+), 5 deletions(-) =================================================================== @@ -48,6 +48,11 @@ gboolean tm_workspace_add_source_file(TMSourceFile *source_file); */ gboolean tm_workspace_remove_source_file(TMSourceFile *source_file, gboolean do_free, gboolean update);
+/*! Calls tm_source_file_update() for all workspace member source files and creates + workspace tag array. Use if you want to globally refresh the workspace. +*/ +void tm_workspace_update(void); +
#ifdef GEANY_PRIVATE
@@ -89,11 +94,6 @@ gboolean tm_workspace_create_global_tags(const char *pre_process, const char **i */ void tm_workspace_recreate_tags_array(void);
-/* Calls tm_source_file_update() for all workspace member source files. - Use if you want to globally refresh the workspace. -*/ -void tm_workspace_update(void); - /* Dumps the workspace tree - useful for debugging */ void tm_workspace_dump(void);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).