Remove `documents_array` global from plugin API
commit76ede69ef49c6f4ac3e11068a3cd5ecdb4425d1b
authorMatthew Brush <mbrush@codebrainz.ca>
Mon, 14 Mar 2016 21:11:56 +0000 (14 14:11 -0700)
committerMatthew Brush <mbrush@codebrainz.ca>
Mon, 14 Mar 2016 21:25:17 +0000 (14 14:25 -0700)
tree1ec71ec39e95a63f5ad3a53922ce6d540adc2b89
parent24f91981c057a7e212c09da66fb974c3ccc85bd6
Remove `documents_array` global from plugin API

The global was never accessible to plugins on Windows and hasn't been
accessible to plugins on Linux and others since the linkage-cleanup
changes.

Move documentation from the global variable to the GeanyData member
of the same name.

Closes #964
src/document.c
src/document.h
src/plugindata.h