Delen via


TextRangeManager Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Produces and manages TextRange instances that will be kept accurate across modifications of a source document through ISourceReader and ISourceChanger.

The TextRangeManager type exposes the following members.

Constructors

 

Name

Description

Public method

TextRangeManager

Initializes a new instance of the TextRangeManager class.

Top

Methods

 

Name

Description

Public method

CreateSourceChanger

Returns an ISourceChanger that will keep the this TextRangeManager up-to-date when the source document is changed.

Public method

CreateSourceReader

Returns an ISourceReader that allows tracking when text moves by using the SourceModifier.Move method.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetTextRange

Creates a TextRange for the specified location, length, and kind.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

TextAdded

Reflects that a specified number of characters were inserted at the specified location.

Public method

TextRemoved

Reflects that a specified number of characters were deleted at the specified location.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference

TextRangeManager Class

Microsoft.Windows.Design.SourceUpdate Namespace