public void InsertSnippet(string shortcut)
{
Snippet snip;
if (!this._list.TryGetValue(shortcut, out snip))
{
// Not a match. Buh-bye
return;
}
this.InsertSnippet(snip, Math.Min(NativeScintilla.GetCurrentPos(), NativeScintilla.GetAnchor()));
}
SnippetManager::InsertSnippet ( System.Snippet snip ) : void | |
SnippetManager::InsertSnippet ( System.Snippet snip, int startPos ) : void |