I have added the bookmarks management to my SyntaxEditor.
I have button to toggled/enabled/disabled bookmarks. It works fine.
Now I want to add a contextual menu with actions to toggle/enable/disable
By default the caret doesn't move to the line of the right click. So the bookmark does not appear at the right place.
How to move the caret automatically to the mouse position when I right click?
Or is there a better way to proceed in this case?