New to Telerik UI for WPF? Start a free 30-day trial

Represents a list of changes in the document.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.History

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Syntax:

C#
public class TextChangeHistoryAction

Inheritance: objectTextChangeHistoryAction

Constructors

Initializes a new instance of the TextChangeHistoryAction class.

C#
public TextChangeHistoryAction(TextDocument document, IEnumerable<TextChange> textChanges, string displayText)
Parameters:documentTextDocumenttextChangesIEnumerable<TextChange>displayTextstring

Properties

Gets the changes in this action.

C#
public IEnumerable<TextChange> Changes { get; }

The context of the action.

C#
public object Context { get; set; }

Gets the display text of the action.

C#
public string DisplayText { get; }

Gets the document of the change.

C#
public TextDocument Document { get; }