• Run the selected cell(s) and advance to the next cell.

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • Optional sessionContext: ISessionContext

      The client session object.

    • Optional sessionDialogs: ISessionContextDialogs

      The session dialogs.

    • Optional translator: ITranslator

      The application translator.

      Notes

      The existing selection will be cleared. The cell after the last selected cell will be activated and scrolled into view. An execution error will prevent the remaining code cells from executing. All markdown cells will be rendered. If the last selected cell is the last cell, a new code cell will be created in 'edit' mode. The new cell creation can be undone.

    Returns Promise<boolean>