public bool ExecuteCommand( MoveSelectedLinesDownCommandArgs args, CommandExecutionContext context ) { CommitIfActive(args); return(false); }
public bool ExecuteCommand(MoveSelectedLinesDownCommandArgs args, CommandExecutionContext executionContext) { FormatSelection(args.TextView, args.SubjectBuffer); return(false); }
public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args) { return(CommandState.Available); }
public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args) { return(CommandState.Unspecified); }
public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args) => CommandState.Unspecified;
bool ICommandHandler <MoveSelectedLinesDownCommandArgs> .ExecuteCommand(MoveSelectedLinesDownCommandArgs args, CommandExecutionContext executionContext) { GetOperations(args.TextView).MoveSelectedLinesDown(); return(true); }
CommandState ICommandHandler <MoveSelectedLinesDownCommandArgs> .GetCommandState(MoveSelectedLinesDownCommandArgs args) { return(AvailableInEditableView(args.TextView)); }
public void ExecuteCommand(MoveSelectedLinesDownCommandArgs args, Action nextHandler) { CommitIfActiveAndCallNextHandler(args, nextHandler); }
public CommandState GetCommandState(MoveSelectedLinesDownCommandArgs args, Func <CommandState> nextHandler) { return(nextHandler()); }