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
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<IBookMark>, IComparer<IBookMark>)
protected virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, IComparer<IBookMark> lineComparer, IComparer<IBookMark> sortComparer)
Parameters
x
inty
intdeltaX
intdeltaY
intlineComparer
IComparer<IBookMark>sortComparer
IComparer<IBookMark>