Class
TextChangeHistoryAction

Represents a list of changes in the document.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.History

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Syntax:

cs-api-definition
public class TextChangeHistoryAction

Inheritance: objectTextChangeHistoryAction

Constructors

TextChangeHistoryAction(TextDocument, IEnumerable<TextChange>, string)

Initializes a new instance of the TextChangeHistoryAction class.

Declaration

cs-api-definition
public TextChangeHistoryAction(TextDocument document, IEnumerable<TextChange> textChanges, string displayText)

Parameters

document

TextDocument

textChanges

IEnumerable<TextChange>

displayText

string

Properties

Changes

Gets the changes in this action.

Declaration

cs-api-definition
public IEnumerable<TextChange> Changes { get; }

Property Value

IEnumerable<TextChange>

Context

The context of the action.

Declaration

cs-api-definition
public object Context { get; set; }

Property Value

object

DisplayText

Gets the display text of the action.

Declaration

cs-api-definition
public string DisplayText { get; }

Property Value

string

Document

Gets the document of the change.

Declaration

cs-api-definition
public TextDocument Document { get; }

Property Value

TextDocument