Copy link to clipboard
Copied
I am developing a CEP.
app.project.xmpPacket = metadata.serialize();
We have found that calling the xmpPacket setter when a user is editing a text layer forces the user out of the text layer editing state.
How do I know if the user is in the middle of editing text to avoid this, or some other good way to do this?
Thank you.
Copy link to clipboard
Copied
There is no way to detect is the user is currently editing text.
Copy link to clipboard
Copied
well... perhaps checking if the project is dirty and if a text layer is selected to avoid that operation at that time would diminish the problem.