Method PositionChanged
PositionChanged(int, int, int, int)
When implemented by a class, updates all syntax errors starting from specified position.
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>)
When implemented by a class, updates all syntax errors starting from specified position.
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.