Get Cursor Position From Active Document
get_cursor_pos(context)
context
Active document context
Integer, position of cursor in text