Mentioned in @elextr's comment in geany/geany-plugins#1308 (comment)
but if you are saving information between callbacks you have to check that the information in that list is valid every time your plugin is entered because any arbitrary changes could be made (documents opening/closing) between callbacks.
Mentioned in @elextr's comment in geany/geany-plugins#1308 (comment)