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