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