I have a scenario where I have to insert some lines at a specific location(this location is determined by where my cursor is in the editor). How to get the cursor location?
PS: When I refer to the cursor I am not referring to the mouse cursor but the cursor in the text editor.