Version

TextChange Class Members

The following tables list the members exposed by TextChange.

Public Properties
 NameDescription
Public PropertyLengthDeltaReturns the difference in the length between the TextDocumentSnapshot which was the current snapshot immediately before this change and the new snapshot.  
Public PropertyLineCountDeltaReturns the difference in the number of lines in the snapshot resulting from this change.  
Public PropertyNewLengthReturns the length of the document after the change was applied.  
Public PropertyNewSpanReturns the span of the text change in the snapshot immediately after the change.  
Public PropertyNewTextReturns the text that replaced the OldText  
Public PropertyOldLengthReturns the length of the document before the change was applied.  
Public PropertyOldSpanReturns the span of the text change in the snapshot immediately before the change.  
Public PropertyOldTextReturns the text that was replaced.  
Public Methods
 NameDescription
Public MethodToStringReturns the string representation of this object.  
See Also