public void ExecuteCommand(WordDeleteToEndCommandArgs args, Action nextHandler) { if (HandleWordDeleteCommand(args.SubjectBuffer, args.TextView, deleteToStart: false)) { return; } nextHandler(); }
public bool ExecuteCommand(WordDeleteToEndCommandArgs args, CommandExecutionContext context) { return(HandleWordDeleteCommand(args.SubjectBuffer, args.TextView, deleteToStart: false)); }
public VSCommanding.CommandState GetCommandState(WordDeleteToEndCommandArgs args) { return(GetCommandState()); }
public CommandState GetCommandState(WordDeleteToEndCommandArgs args) => GetCommandState();
bool ICommandHandler <WordDeleteToEndCommandArgs> .ExecuteCommand(WordDeleteToEndCommandArgs args, CommandExecutionContext executionContext) { GetOperations(args.TextView).DeleteToEndOfLine(); return(true); }
CommandState ICommandHandler <WordDeleteToEndCommandArgs> .GetCommandState(WordDeleteToEndCommandArgs args) { return(AvailableInEditableView(args.TextView)); }
public CommandState GetCommandState(WordDeleteToEndCommandArgs args, Func <CommandState> nextHandler) { return(GetCommandState(nextHandler)); }