• Toggle the line number of all cells.

    Parameters

    • notebook: Notebook

      The target notebook widget.

      Notes

      The original state is based on the state of the active cell. The mode of the widget will be preserved.

    Returns void