Skip to content

CursorSetSnapshot

Namespace: Hex1b.Documents

Assembly: Hex1b.dll

Immutable snapshot of cursor positions for undo/redo.

csharp
public sealed record CursorSetSnapshot : IEquatable<CursorSetSnapshot>

Inheritance

ObjectCursorSetSnapshot

Implements

Constructors

CursorSetSnapshot(IReadOnlyList<CursorSnapshotEntry>, int)

Immutable snapshot of cursor positions for undo/redo.

Parameters:

csharp
public CursorSetSnapshot(IReadOnlyList<CursorSnapshotEntry> Entries, int PrimaryIndex)

Properties

Entries

Returns: IReadOnlyList<CursorSnapshotEntry>

csharp
public IReadOnlyList<CursorSnapshotEntry> Entries { get; init; }

PrimaryIndex

Returns: Int32

csharp
public int PrimaryIndex { get; init; }

Released under the MIT License.