Filters Collection

Filters collection provides a collection of Filter objects.

Properties

Count

Retrieves the number of items.

Item

Retrieves the Filter object for the specified index.

VisibleLinesAbove

Specifies the number of visible lines above the matched lines.

VisibleLinesBelow

Specifies the number of visible lines below the matched lines.

Methods

Add

Adds an item.

AddFind

Adds an item for a search.

AddReplace

Adds an item for a replace.

Clear

Removes all items in the collection.

Export

Exports the collection to a TSV file.

Import

Imports a TSV file to the collection.

Remove

Removes an item.

Examples

[JavaScript]

list = new Enumerator( document.filters );
for( ; !list.atEnd(); list.moveNext() ){
item = list.item();
alert( item.Value );
}

[VBScript]

For Each item In document.filters
alert item.Value
Next

Version

Supported on EmEditor Professional Version 16.0 or later.