I committed a minor change to that function which uses the doc-ids as array keys instead of incrementing integers. So it’s possible to determine which document generated the TVarOutput. A feature I really missed ;-)
I really don’t like changes of the API behavior, but I’m sure it won’t break snippets/plugins relying on that function. Any other opinions?
Sounds ok to me. It just needs to be tested.