SF.net SVN: geany: [1295] branches/geany-0.10.1

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Feb 16 16:59:25 UTC 2007


Revision: 1295
          http://svn.sourceforge.net/geany/?rev=1295&view=rev
Author:   eht16
Date:     2007-02-16 08:59:24 -0800 (Fri, 16 Feb 2007)

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

Modified Paths:
--------------
    branches/geany-0.10.1/NEWS
    branches/geany-0.10.1/src/document.c

Modified: branches/geany-0.10.1/NEWS
===================================================================
--- branches/geany-0.10.1/NEWS	2007-02-16 16:53:45 UTC (rev 1294)
+++ branches/geany-0.10.1/NEWS	2007-02-16 16:59:24 UTC (rev 1295)
@@ -34,6 +34,7 @@
     * Added several missing style types for filetype Perl (thanks to
       John Gabriele for reporting).
     * Prevent right click in Symbol list from selecting a tag.
+    * Update the symbol list when starting a new document.
 
     Internationalisation:
     * New translations: fi (thanks to Harri Koskinen).

Modified: branches/geany-0.10.1/src/document.c
===================================================================
--- branches/geany-0.10.1/src/document.c	2007-02-16 16:53:45 UTC (rev 1294)
+++ branches/geany-0.10.1/src/document.c	2007-02-16 16:59:24 UTC (rev 1295)
@@ -408,8 +408,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