How to get set-cursor-to-last-text-position
fontoxml-base-flowto make this operation available.
Place the cursor at the last position where inserting text is possible. Note that this operation will not cross 'closed' boundaries, like the boundaries of a sheetframe, an out of order structure or the boundaries of an object.
This mirrors set-cursor-to-first-text-position.