예제 #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);
 }