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

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • OptionalsessionContext: ISessionContext

      The client session object.

    • OptionalsessionDialogs: ISessionContextDialogs

      The session dialogs.

    • Optionaltranslator: ITranslator

      The application translator.

      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>