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
x
intIndex of current character in the text.
y
intIndex of current line in the text.
deltaX
intHorizontal displacement.
deltaY
intVertical displacement.
list
IRangeListList to update.
comparer
IComparer<IRange>Object that exposes a method to compare two objects.
Returns
- bool
True if succeed; otherwise false.