Hi, I would like to show some help for a function after the user types ‘(’ following a valid function name. I can get showHint to work (which I use to suggest function names while typing) but for the function help I want to display a formatted div just below the cursor. I don’t think I can use showHint to display formatted text and I’ve tried using addWidget but can’t seem to get it to do anything and there aren’t enough examples online to show me how to do it. I do already have code that will popup a formatted box at a given position and would happily use that but I can’t seem to figure out how to get the cursor (not mouse) position at the point where the user has typed the (.
Has anyone done something similar ? If so do you have any sample code I could look at.