for Glyphs.callBack it would be helpful to have a DOCUMENTCHANGE or similar const. I can’t check for Glyphs.currentDocument on UPDATEINTERFACE because it requires user to actually interact with the edit view, when a layer could already be selected in that other document, and there are values in the UI that I would want to update when the document changes
maybe there is a workaround using an objc method or something?