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());
 }
Example #4
0
 public CommandState GetCommandState(WordDeleteToEndCommandArgs args) => GetCommandState();
Example #5
0
 bool ICommandHandler <WordDeleteToEndCommandArgs> .ExecuteCommand(WordDeleteToEndCommandArgs args, CommandExecutionContext executionContext)
 {
     GetOperations(args.TextView).DeleteToEndOfLine();
     return(true);
 }
Example #6
0
 CommandState ICommandHandler <WordDeleteToEndCommandArgs> .GetCommandState(WordDeleteToEndCommandArgs args)
 {
     return(AvailableInEditableView(args.TextView));
 }
 public CommandState GetCommandState(WordDeleteToEndCommandArgs args, Func <CommandState> nextHandler)
 {
     return(GetCommandState(nextHandler));
 }