public bool CancelActiveSnippets() { if (_snippetLinks.IsActive && !Scintilla.AutoComplete.IsActive) { IsActive = false; Scintilla.Commands.StopProcessingCommands = true; return true; } return false; }