Replaces the selection in the active cell of the notebook.
The target notebook widget.
The text to replace the selection.
Replaces the selection in the active cell of the notebook.