I am learning how to use the monaco editor and would like to append some text to the editor after a suggestion has been successfully inserted; i.e. if an open-element tag is inserted from the suggestion list, I would create the respective closing tag and insert it. pseudo code: insert "</" + suggestedTagName + ">".
Assume that the suggested inserted text is the suggestedTagName. the end result would be:
<------- inserted text made by monaco from the suggested list <------- desired inserted text.
I really appreciate your help.