Table of Contents

Method PositionChanged

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

PositionChanged(int, int, int, int, IComparer<ISyntaxNode>)

Updates specified position by DeltaX and DeltaY values for any nodes in the collection.

public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IComparer<ISyntaxNode> comparer)

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.

comparer IComparer<ISyntaxNode>

Object that exposes a method to compare two objects.

Returns

bool

True if succeed; otherwise false.