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