All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Region Painting Settings

You can configure the Region Painting feature on the Editor | All Languages | Region Painting options page.

Options

This page contains the following options:

Enable Region Painting

Use this option to enable/disable Region Painting.

Painting Type

You can specify one of the following region painting types:

  • Classic - based on the CodeRush Classic version.

    CodeRush Classic

  • Roslyn - the default painting version.

    Roslyn

Draw Arrows

This option specifies whether to paint arrows before a region name in a code region.

  • On

    Arrows On

  • Off

    Arrows Off

Move Caret when Entering the #region/#endregion Line

You can specify whether to move the caret to the painting region's start or end when the caret is in the region line.

  • On

    Move On

  • Off (the default value)

    Move Off

Customize Region Colors

Open the Advanced tab to change the color of the region title and the color of lines that bound the region.

NOTE

You can change colors for the Classic painting type only.

For example, set the ArrowColor to "Red", ExpandedRegionsLineColor to "Orange", and ExpandedRegionsTextColor to "Green":

Color Options

The following screenshot shows the modified code region:

Changed Region