



For example, deletions or Find and Replace operations may erase the end of the region. When you change an outlined region, the outlining may be lost. For example, when you copy a region that is collapsed, the Paste operation will paste the copied text as an expanded region. The Copy, Cut, Paste, and drag-and-drop operations retain outlining information, but not the state of the collapsible region. The Undo and Redo commands on the Edit menu affect these actions. When you do not wish to have outlining displayed, you can use the Stop Outlining command to remove the outline information without disturbing your underlying code. When you work in outlined code, you can expand the sections you want to work on, collapse them when you are done, and then move to other sections. You can change it in Tools > Options > Environment > Fonts and Colors > Collapsible Region. The default highlighting color may seem rather faint in some color configurations. Regions in the outlining margin are also highlighted when you hover over the margin with the mouse. For Visual Studio for Mac, see Source editor (Visual Studio for Mac). This topic applies to Visual Studio on Windows.
