is an option to Notebook, Cell, and Style that specifies whether to show the current selection highlighted.


  • ShowSelection is often set for styles of cells or whole notebooks instead of individual cells.
  • Settings for ShowSelection affect only how the selection is displayed, not where it is or how it works.
  • Setting ShowSelection->False is convenient if you want notebook operations to be performed invisibly.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create a notebook window and select some content:

Click for copyable input

Turn off the visible marking of the selection:

Move the selection:

Make the selection visible again:

New in 4 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »