CursorSetSnapshot
Namespace: Hex1b.Documents
Assembly: Hex1b.dll
Immutable snapshot of cursor positions for undo/redo.
csharp
public sealed record CursorSetSnapshot : IEquatable<CursorSetSnapshot>Inheritance
Object → CursorSetSnapshot
Implements
Constructors
CursorSetSnapshot(IReadOnlyList<CursorSnapshotEntry>, int)
Immutable snapshot of cursor positions for undo/redo.
Parameters:
Entries(IReadOnlyList<CursorSnapshotEntry>):PrimaryIndex(Int32):
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; }