Class ops.TextPositionFilter
Defined in: TextPositionFilter.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
acceptPosition(iterator)
|
|
<inner> |
checkLeftRight(container, leftNode, rightNode, nodeFilter)
|
<inner> |
previousSibling(node, nodeFilter)
Find the previous sibling of the specified node that passes the node filter.
|
Method Detail
{!core.PositionFilter.FilterResult}
acceptPosition(iterator)
- Parameters:
- {!core.PositionIterator} iterator
- Returns:
- {!core.PositionFilter.FilterResult}
<inner>
{!core.PositionFilter.FilterResult}
checkLeftRight(container, leftNode, rightNode, nodeFilter)
- Parameters:
- {!Node} container
- {?Node} leftNode
- {?Node} rightNode
- {!function(?Node):!number} nodeFilter
- Returns:
- {!core.PositionFilter.FilterResult}
<inner>
{?Node}
previousSibling(node, nodeFilter)
Find the previous sibling of the specified node that passes the node filter.
- Parameters:
- {?Node} node
- {!function(?Node):!number} nodeFilter
- Returns:
- {?Node}