public bool ExecuteCommand(LineEndCommandArgs args, CommandExecutionContext context) => HandleLineStartOrLineEndCommand( args.SubjectBuffer, args.TextView, lineStart: false, extendSelection: false );
public void ExecuteCommand(LineEndCommandArgs args, Action nextHandler) { if (HandleLineStartOrLineEndCommand(args.SubjectBuffer, args.TextView, lineStart: false, extendSelection: false)) { return; } nextHandler(); }
public CommandState GetCommandState(LineEndCommandArgs args) => GetCommandState();
public CommandState GetCommandState(LineEndCommandArgs args, Func <CommandState> nextHandler) { return(GetCommandState(nextHandler)); }
public CommandState GetCommandState(LineEndCommandArgs args) { return(GetCommandState()); }
bool ICommandHandler <LineEndCommandArgs> .ExecuteCommand(LineEndCommandArgs args, CommandExecutionContext executionContext) { GetOperations(args.TextView).MoveToEndOfLine(extendSelection: false); return(true); }
CommandState ICommandHandler <LineEndCommandArgs> .GetCommandState(LineEndCommandArgs args) { return(CommandState.Available); }