ITextEdit Methods

Include Protected Members
Include Inherited Members

The ITextEdit type exposes the following members.

Methods

  Name Description
Public method Apply Commits all the modifications made with this ITextBufferEdit object to the underlying ITextBuffer. It also causes the ITextBuffer to generate a new snapshot and raise its Changed event if any modifications were made. (Inherited from ITextBufferEdit.)
Public method Cancel Abandons all modifications started using this ITextBufferEdit object. Any further calls on this object will result in an InvalidOperationException. (Inherited from ITextBufferEdit.)
Public method Delete(Span) Deletes a sequence of characters from the buffer.
Public method Delete(Int32, Int32) Deletes a sequence of characters from the buffer.
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method Insert(Int32, String) Inserts the given text at the specified positionin the text buffer.
Public method Insert(Int32, array<Char[], Int32, Int32) Inserts an array of characters at the specified position in the ITextBuffer.
Public method Replace(Span, String) Replaces a sequence of characters with different text.
Public method Replace(Int32, Int32, String) Replaces a sequence of characters with different text.

Top

See Also

Reference

ITextEdit Interface

Microsoft.VisualStudio.Text Namespace