Hi,
I’m trying to write a package which modifies the TextBuffer just before it is saved to the disk. I subscribed the TextBuffer::onWillSave() event. But in the callback function, how how can I find out which TextBuffer triggered this event?
Presumably there should be something like a sender() function? But I couldn’t find anything related to this in the documentation.
Thanks.