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
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>)
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
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.