public void Execute(ITextView view, EmacsCommandID commandId, bool evaluateUniversalArgument = true) { var commandMetadata = GetCommandMetadata(commandId); if (commandMetadata != null) { this.Execute(view, commandMetadata, evaluateUniversalArgument); } }
public void Execute(ITextView view, EmacsCommandID commandId, bool evaluateUniversalArgument = true) { IEmacsCommandMetadata commandMetadata = GetCommandMetadata(commandId); if (commandMetadata == null) { return; } Execute(view, commandMetadata, evaluateUniversalArgument); }
internal IEmacsCommandMetadata GetCommandMetadata(EmacsCommandID command) { return(GetCommandMetadata((int)command, typeof(EmacsCommandID).GUID)); }
public EmacsCommandAttribute(EmacsCommandID command) : this((int)command, typeof(EmacsCommandID).GUID) { }
public void Execute(ITextView view, EmacsCommandID commandId, bool evaluateUniversalArgument = true) { var commandMetadata = GetCommandMetadata(commandId); if (commandMetadata != null) this.Execute(view, commandMetadata, evaluateUniversalArgument); }
internal IEmacsCommandMetadata GetCommandMetadata(EmacsCommandID command) { return GetCommandMetadata((int)command, typeof(EmacsCommandID).GUID); }