public bool ExecuteCommand(
     MoveSelectedLinesDownCommandArgs args,
     CommandExecutionContext context
     )
 {
     CommitIfActive(args);
     return(false);
 }
Пример #2
0
        public bool ExecuteCommand(MoveSelectedLinesDownCommandArgs args, CommandExecutionContext executionContext)
        {
            FormatSelection(args.TextView, args.SubjectBuffer);

            return(false);
        }
Пример #3
0
 public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args)
 {
     return(CommandState.Available);
 }
 public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args)
 {
     return(CommandState.Unspecified);
 }
Пример #5
0
 public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args)
 => CommandState.Unspecified;
Пример #6
0
 bool ICommandHandler <MoveSelectedLinesDownCommandArgs> .ExecuteCommand(MoveSelectedLinesDownCommandArgs args, CommandExecutionContext executionContext)
 {
     GetOperations(args.TextView).MoveSelectedLinesDown();
     return(true);
 }
Пример #7
0
 CommandState ICommandHandler <MoveSelectedLinesDownCommandArgs> .GetCommandState(MoveSelectedLinesDownCommandArgs args)
 {
     return(AvailableInEditableView(args.TextView));
 }
Пример #8
0
 public void ExecuteCommand(MoveSelectedLinesDownCommandArgs args, Action nextHandler)
 {
     CommitIfActiveAndCallNextHandler(args, nextHandler);
 }
Пример #9
0
 public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args, Func <CommandState> nextHandler)
 {
     return(nextHandler());
 }