Table of Contents

Class CodeScrollAnchor

Namespace
CodeEdit.Maui
Assembly
CodeEdit.Maui.dll

A disposable source anchor that follows edits, independent of any native view.

public sealed class CodeScrollAnchor : IDisposable
Inheritance
CodeScrollAnchor
Implements
Inherited Members

Properties

Affinity

Gets the captured wrap/bidi edge.

public CaretAffinity Affinity { get; }

Property Value

CaretAffinity

Offset

Gets the caret's position relative to the text viewport, in DIPs.

public Point Offset { get; }

Property Value

Point

Position

Gets the current UTF-16 boundary, or null after disposal or document reset.

public int? Position { get; }

Property Value

int?

Methods

Dispose()

Releases the tracked source position on the document's owning thread.

public void Dispose()