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())); }