Make sure to update the tag list only for the current document
commitec4a5ea4f92f337d97b3ab2abae88e4ebf95d777
authorColomban Wendling <ban@herbesfolles.org>
Tue, 26 Apr 2011 13:52:31 +0000 (26 13:52 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Tue, 26 Apr 2011 13:52:31 +0000 (26 13:52 +0000)
treea0690742f189ba247e8c3d3b937b2e6afb0c2864
parent26ddc69e5d5b609146387cd994522ce134b3ba63
Make sure to update the tag list only for the current document

Fix idle tag list updating not to update the tag list if the current
document isn't the one to update anymore. In this case, mark the
document as needing an update and re-schedule an idle update next time
the document gets the focus.

This fixes updating the tag list after switching documents, which
resulted in displaying the wrong tag list.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5738 ea778897-0a13-0410-b9d1-a72fbfd435f5
ChangeLog
src/callbacks.c
src/document.c
src/document.h
src/documentprivate.h
src/editor.c
src/sidebar.c