markProtect parameter

Use the markProtect parameter to set or query the protect attribute of a mark.  If a mark is protected, you will not be able to delete or change any of the elements associated with the mark.  You will also be unable to insert new non-show elements between two elements contained within the protected mark.

 

Availability

query command
set command

 

Scope

The specified mark in the current view.

 

Syntax

query markProtect.[name | #id]
set markProtect.[name | #id] { on | off } 

 

Parameters

name Use the name parameter to specify the name of an existing mark.  Mark names may contain any characters but spaces and may not start with the # character.
id Use the id parameter to specify the id of an existing mark.
on Use the on parameter to indicate that the specified mark should be protected.
off Use the off parameter to indicate that the specified mark should not be protected.

 

Description

If you do not specify a mark name or a mark id, the last mark created will be used.

 

Examples

query markProtect.test
set markProtect.test on
set markProtect.#3 off 

Related reference
query command
set command
mark parameter
markId parameter