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