示例#1
0
        public void Execute(ITextView view, EmacsCommandID commandId, bool evaluateUniversalArgument = true)
        {
            var commandMetadata = GetCommandMetadata(commandId);

            if (commandMetadata != null)
            {
                this.Execute(view, commandMetadata, evaluateUniversalArgument);
            }
        }
示例#2
0
        public void Execute(ITextView view, EmacsCommandID commandId, bool evaluateUniversalArgument = true)
        {
            IEmacsCommandMetadata commandMetadata = GetCommandMetadata(commandId);

            if (commandMetadata == null)
            {
                return;
            }
            Execute(view, commandMetadata, evaluateUniversalArgument);
        }
示例#3
0
 internal IEmacsCommandMetadata GetCommandMetadata(EmacsCommandID command)
 {
     return(GetCommandMetadata((int)command, typeof(EmacsCommandID).GUID));
 }
示例#4
0
 public EmacsCommandAttribute(EmacsCommandID command)
     : this((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);
 }