EmEditor Home - EmEditor Help - EmEditor Macro Reference - HighlightList Collection

Add Method

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) tab of Configuration Properties.

bRightAll

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

bCase

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

bInsideTag

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

bRegExp

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

Version

Supported on EmEditor Professional Version 7.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.