Update the symbol list when starting a new document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1180 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
6044ff1f50
commit
9a131ece20
@ -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@btinternet.com>
|
||||
|
@ -414,8 +414,11 @@ void document_new_file(filetype *ft)
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user