Mathematica > Notebooks and Documents > Low-Level Notebook Programming >

NotebookDelete

NotebookDelete[notebook]
deletes the current selection in the notebook corresponding to the specified notebook object.
NotebookDelete[]
deletes the current selection in the current evaluation notebook.
  • Using NotebookDelete in the kernel is equivalent to using the Clear command in the front end.
  • After NotebookDelete, the current selection becomes an insertion point at the position of the deleted material.
New in 3 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team