Add Method (HighlightList Collection)

Adds an item.

[JavaScript]

list.Add( sName, nColor, bWord, bRightSide, bRightAll, bCase, bInsideTag, bRegExp );

[VBScript]

list.Add sName, nColor, bWord, bRightSide, bRightAll, bCase, bInsideTag, bRegExp

Parameters

sName

Specifies the name of the item to add.

nColor

Specifies the color of the highlighted string.

bWord

Corresponds to the Whole Word Only check box in the Highlight (1) page of Configuration Properties.

bRightAll

Corresponds to the Highlight Right Side check box in the Highlight (1) page of Configuration Properties.

bCase

Corresponds to the Match Case check box in the Highlight (1) page of Configuration Properties.

bInsideTag

Corresponds to the Inside Tag Only check box in the Highlight (1) page of Configuration Properties.

bRegExp

Corresponds to the Regular Expression check box in the Highlight (1) page of Configuration Properties.

Version

Supported on EmEditor Professional Version 7.00 or later.