• Replaces the selection in the active cell of the notebook.

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • text: string

      The text to replace the selection.

    Returns void