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
x
intIndex of current character in the text.
y
intIndex of current line in the text.
deltaX
intHorizontal displacement.
deltaY
intVertical 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
x
intThe X-constituent of the Point value that specifies start position to change.
y
intThe Y-constituent of the Point value that specifies start position to change.
deltaX
intSpecifies horizontal displacement.
deltaY
intSpecifies vertical displacement.
comparer
IComparer<ISyntaxError>Search criteria.
Returns
- bool
True if succeed; otherwise false.