It accesses `geany_data->documents_array`, yes, but that still gives access to the document pointers (ex. via the `documents` macro). It would be no safer with respect to the lifetime issues.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/964#issuecomment-196141017