示例#1
0
 public void ExecuteCommand(CopyCommandArgs args, Action nextCommandHandler, CommandExecutionContext executionContext)
 => ExecuteCutOrCopyCommand(args.TextView, args.SubjectBuffer, nextCommandHandler, executionContext);
示例#2
0
 bool ICommandHandler <CopyCommandArgs> .ExecuteCommand(CopyCommandArgs args, CommandExecutionContext executionContext)
 {
     GetOperations(args.TextView).CopySelection();
     return(true);
 }
示例#3
0
 public CommandState GetCommandState(CopyCommandArgs args, Func <CommandState> nextCommandHandler)
 => nextCommandHandler();
示例#4
0
 CommandState ICommandHandler <CopyCommandArgs> .GetCommandState(CopyCommandArgs args)
 {
     return(CommandState.Available);
 }