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());
 }