Table of Contents

Method PositionChanged

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

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 int

Index of current character in the text.

y int

Index of current line in the text.

deltaX int

Horizontal displacement.

deltaY int

Vertical 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 int

The X-constituent of the Point value that specifies start position to change.

y int

The Y-constituent of the Point value that specifies start position to change.

deltaX int

Specifies horizontal displacement.

deltaY int

Specifies vertical displacement.

comparer IComparer<ISyntaxError>

Search criteria.

Returns

bool

True if succeed; otherwise false.