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.

Marker

Drops a blue triangle marker when a template is expanded.

Expand Template

NOTE

To see dropped markers in templates, enable the corresponding option on the Editor | All Languages | Markers options page. See Marker Settings for more information.

You can pass an optional integer parameter which specifies the time (in seconds) after which CodeRush deletes the marker from code.

«Marker([lifetime])»

Position Parameter
1 Lifetime (optional)

The screencast below shows how the "Marker(10)" command removes a marker in ten seconds after the "mb" template is expanded in code.

Select

Refer to the Markers section of the Using Text Command topic to learn how to insert the "Marker" text command into a template expansion code.