Method PositionChanged
PositionChanged(int, int, int, int, IRangeList, IComparer<IRange>)
Updates specified position by DeltaX and DeltaY values for any ranges in the collection.
public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IRangeList list, IComparer<IRange> comparer)
Parameters
xintIndex of current character in the text.
yintIndex of current line in the text.
deltaXintHorizontal displacement.
deltaYintVertical displacement.
listIRangeListList to update.
comparerIComparer<IRange>Object that exposes a method to compare two objects.
Returns
- bool
True if succeed; otherwise false.