public void ExecuteCommand(DownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) { if (TryGetController(args, out var controller) && controller.TryHandleDownKey()) { return; } nextHandler(); }
internal bool TryHandleDownKey(DownKeyCommandArgs commandArgs) { if (!TryGetController(commandArgs, out var controller)) { return(false); } return(controller.TryHandleDownKey()); }
public void ExecuteCommand(DownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) { if ((_signatureHelpCommandHandler != null && _signatureHelpCommandHandler.TryHandleDownKey(args))) { return; } nextHandler(); }
public void ExecuteCommand(DownKeyCommandArgs args, Action nextHandler) { if (//(_completionCommandHandler != null && _completionCommandHandler.TryHandleDownKey(args)) || (_signatureHelpCommandHandler != null && _signatureHelpCommandHandler.TryHandleDownKey(args))) { return; } nextHandler(); }
public VSCommanding.CommandState GetCommandState(DownKeyCommandArgs args, Func <VSCommanding.CommandState> nextHandler) { return(nextHandler()); }
public CommandState GetCommandState(DownKeyCommandArgs args, Func <CommandState> nextHandler) => nextHandler();
bool ICommandHandler <DownKeyCommandArgs> .ExecuteCommand(DownKeyCommandArgs args, CommandExecutionContext executionContext) { GetOperations(args.TextView).MoveLineDown(extendSelection: false); return(true); }
CommandState ICommandHandler <DownKeyCommandArgs> .GetCommandState(DownKeyCommandArgs args) { return(CommandState.Available); }