I am working on a vscode extension .. I want to get the cursor position reference to the whole document, for example if I\'ve the following html: