scripting:api:text-document:offset-to-text