Deletion settings
Each language profile has its own set of options. The deletion settings for each language profile determine how changed lines are cleaned before a new autocomment is inserted.
You can remove old autocomments by specifying a list of prefixes
and the column range where old autocomments appear. Any autocomments
that exist within the specified column range and start with one of
the specified prefixes is removed from the line before the new autocomment
is inserted.
Note: Text that appears after the old autocomment in
the column range remains in the original columns; the old autocomment
is replaced with spaces.
Setting | Description | Value type | Syntax |
---|---|---|---|
DeleteWords | Specifies the prefixes of old autocomments that
should be removed from changed lines before inserting new autocomments. Note: Used
in combination with DeleteStart and DeleteEnd, this
setting searches for words with given prefixes (in the specified column
range) and deletes them.
|
String list value; must be a list of white-space delimited words. Each word that contains spaces must be enclosed in double quotation marks. | Must be a list of prefixes, where each prefix is separated by a space. For example, AKR "MH - " //SW "Dan M" |
DeleteStart | The column number for deletions. Text that appears in or after this column (and matches one of the DeleteWords prefix patterns), is removed from the line before a new autocomment is inserted. | Number value; must be a positive integer. | Must be smaller than the DeleteEnd value. |
DeleteEnd | The upper bound column number for deletions. Text that appears before, in, or after this column (and matches one of the DeleteWords prefix patterns), is considered for removal. | Number value; must be a positive integer. | Must be larger than the DeleteStart value or 0 to indicate that there is no end. |