scripting:api:base-document:get-undo-position