
I tried to trigger the insertion of a code snippet programmatically with the EditorDocument. I tried to call AppendText and InsertText with the shortcut of the snippet plus a tab in the string (\t"). It inserted the text of the shortcut with a tab after. I used the TextChangeTypes.InsertCodeSnippetTemplate but always the same behaviour.
I would really appreciate if you could point me to what call I should be doing to trigger the snipper insertion programmatically.