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