Example #1
0
 void IChainedCommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context)
 {
     AssertIsForeground();
     if (!ChangeSelection(() => sessionOpt.PresenterSession.SelectNextPageItem()))
     {
         nextHandler();
     }
 }
 void ICommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler)
 {
     AssertIsForeground();
     ExecuteCommandWorker(args, nextHandler);
 }
 CommandState ICommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args, Func <CommandState> nextHandler)
 {
     AssertIsForeground();
     return(GetCommandStateWorker(args, nextHandler));
 }
Example #4
0
 CommandState IChainedCommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args, Func <CommandState> nextHandler)
 {
     AssertIsForeground();
     return(nextHandler());
 }
 void IChainedCommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context)
 {
     AssertIsForeground();
     ExecuteCommandWorker(args, nextHandler, context);
 }
Example #6
0
 bool ICommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, CommandExecutionContext executionContext)
 {
     GetOperations(args.TextView).PageDown(extendSelection: false);
     return(true);
 }
Example #7
0
 CommandState ICommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args)
 {
     return(CommandState.Available);
 }