Method PositionChanged
PositionChanged(int, int, int, int, IComparer<ISyntaxNode>)
Updates specified position by DeltaX and DeltaY values for any nodes in the collection.
public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IComparer<ISyntaxNode> comparer)
Parameters
x
intIndex of current character in the text.
y
intIndex of current line in the text.
deltaX
intHorizontal displacement.
deltaY
intVertical displacement.
comparer
IComparer<ISyntaxNode>Object that exposes a method to compare two objects.
Returns
- bool
True if succeed; otherwise false.