Table of Contents

Class RichReviewProjection

Namespace
RichEdit.Core
Assembly
RichEdit.Core.dll

A frozen review state and address maps bound to its exact source snapshot.

public sealed class RichReviewProjection
Inheritance
RichReviewProjection
Inherited Members

Properties

Mode

Gets the displayed review state.

public RichReviewMode Mode { get; }

Property Value

RichReviewMode

Snapshot

Gets the immutable displayed content. It owns no undo history.

public RichDocumentSnapshot Snapshot { get; }

Property Value

RichDocumentSnapshot

Source

Gets the canonical snapshot from which this projection was captured.

public RichDocumentSnapshot Source { get; }

Property Value

RichDocumentSnapshot

Methods

ToReview(RichTextPoint)

Maps a canonical point into the review state. Removed paragraphs return null; text replacements use point affinity.

public RichTextPoint? ToReview(RichTextPoint point)

Parameters

point RichTextPoint

Returns

RichTextPoint?

ToSource(RichTextPoint)

Maps a review point to canonical content. Retained-only paragraphs return null; text replacements use point affinity.

public RichTextPoint? ToSource(RichTextPoint point)

Parameters

point RichTextPoint

Returns

RichTextPoint?