Method PositionChanged
PositionChanged(int, int, int, int)
Updates specified position by DeltaX and DeltaY values for any errors in the collection.
public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY)
Parameters
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.
PositionChanged(int, int, int, int, IComparer<ISyntaxError>)
Updates all syntax errors starting from specified position.
public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IComparer<ISyntaxError> comparer)
Parameters
xintThe X-constituent of the Point value that specifies start position to change.
yintThe Y-constituent of the Point value that specifies start position to change.
deltaXintSpecifies horizontal displacement.
deltaYintSpecifies vertical displacement.
comparerIComparer<ISyntaxError>Search criteria.
Returns
- bool
True if succeed; otherwise false.