public bool ExecuteCommand(
     MoveSelectedLinesDownCommandArgs args,
     CommandExecutionContext context
     )
 {
     CommitIfActive(args);
     return(false);
 }
Ejemplo n.º 2
0
        public bool ExecuteCommand(MoveSelectedLinesDownCommandArgs args, CommandExecutionContext executionContext)
        {
            FormatSelection(args.TextView, args.SubjectBuffer);

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