Method UpdatePosition
UpdatePosition(IRange, int, int, int, int)
When implemented by a class, updates specified position by DeltaX and DeltaY values for specific IRange.
bool UpdatePosition(IRange range, int x, int y, int deltaX, int deltaY)
Parameters
rangeIRangeIRangeto update.xintIndex of current character in the text.
yintIndex of current line in the text.
deltaXintHorizontal displacement.
deltaYintVertical displacement.
Returns
- bool
True if succeed; otherwise false.