SF.net SVN: geany: [1180] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Sat Jan 13 15:25:45 UTC 2007


Revision: 1180
          http://svn.sourceforge.net/geany/?rev=1180&view=rev
Author:   ntrel
Date:     2007-01-13 07:25:45 -0800 (Sat, 13 Jan 2007)

Log Message:
-----------
Update the symbol list when starting a new document.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/document.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-01-13 13:25:05 UTC (rev 1179)
+++ trunk/ChangeLog	2007-01-13 15:25:45 UTC (rev 1180)
@@ -7,6 +7,8 @@
    src/ui_utils.c, src/symbols.h:
    Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
    to symbols.c.
+ * src/document.c:
+   Update the symbol list when starting a new document.
 
 
 2007-01-12  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2007-01-13 13:25:05 UTC (rev 1179)
+++ trunk/src/document.c	2007-01-13 15:25:45 UTC (rev 1180)
@@ -414,8 +414,11 @@
 	if (ft == NULL) filetypes[GEANY_FILETYPES_ALL]->style_func_ptr(doc_list[idx].sci);
 	ui_set_window_title(idx);
 	build_menu_update(idx);
+
 	doc_list[idx].mtime = time(NULL);
 	doc_list[idx].changed = FALSE;
+
+	document_update_tag_list(idx, FALSE);
 	document_set_text_changed(idx);
 	ui_document_show_hide(idx); //update the document menu
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list