Table of Contents

Method PositionChanged

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

PositionChanged(int, int, int, int)

Updates all bookmarks starting from specified position.

public virtual 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<ILineStyle>, IComparer<ILineStyle>)

protected virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IComparer<ILineStyle> lineComparer, IComparer<ILineStyle> sortComparer)

Parameters

x int
y int
deltaX int
deltaY int
lineComparer IComparer<ILineStyle>
sortComparer IComparer<ILineStyle>

Returns

bool