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