Class TextChangeHistoryAction
Represents a list of changes in the document.
Inheritance
System.Object
TextChangeHistoryAction
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.SyntaxEditor.Core.History
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class TextChangeHistoryAction
Constructors
TextChangeHistoryAction(TextDocument, IEnumerable<TextChange>, String)
Initializes a new instance of the TextChangeHistoryAction class.
Declaration
public TextChangeHistoryAction(TextDocument document, IEnumerable<TextChange> textChanges, string displayText)
Parameters
TextDocument
document
|
System.Collections.Generic.IEnumerable<TextChange>
textChanges
|
System.String
displayText
|
Properties
Changes
Gets the changes in this action.
Declaration
public IEnumerable<TextChange> Changes { get; }
Property Value
System.Collections.Generic.IEnumerable<TextChange>
|
Context
The context of the action.
Declaration
public object Context { get; set; }
Property Value
System.Object
|
DisplayText
Gets the display text of the action.
Declaration
public string DisplayText { get; }
Property Value
System.String
|
Document
Gets the document of the change.
Declaration
public TextDocument Document { get; }
Property Value
TextDocument
|