Freigeben über


VsTextBufferClass Members

Include Protected Members
Include Inherited Members

Acts as the base interface for the VsTextBuffer object and provides general information about the text buffer's properties. Provides read and write access to the text buffer using two-dimensional coordinates.

The VsTextBufferClass type exposes the following members.

Constructors

  Name Description
Public method VsTextBufferClass

Top

Methods

  Name Description
Public method AdviseTextLinesEvents Method information not provided. Do not use this method.
Public method CanReplaceLines Tests whether a given editing operation such as copy or cut can succeed.
Public method CopyLineText Puts the specified span of text into a caller-allocated buffer (an array).
Public method CreateEditPoint Creates an EditPoint object at the given location in the text buffer.
Public method CreateLineMarker Creates a marker of a given type over the specified region.
Public method CreateTextPoint Creates a TextPoint object at the given location in the text buffer.
Public method EnumMarkers Enumerates a specific set of text line markers, based on the criteria specified.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindMarkerByLineIndex Locates a marker of a given type based on a line index.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLanguageServiceID Returns the unique identifier of the language that is providing colorization and other attribute data to this buffer.
Public method GetLastLineIndex Returns the last line in the text buffer.
Public method GetLengthOfLine Returns the length of a line in the buffer.
Public method GetLineCount Returns the number of lines in the buffer.
Public method GetLineData Provides direct, line-oriented access to the text buffer.
Public method GetLineDataEx Provides direct, line-oriented access to the text buffer.
Public method GetLineIndexOfPosition Returns the line and column numbers in the text buffer, given a position number.
Public method GetLineText Returns the specified span of text in a BSTR.
Public method GetMarkerData Returns text marker data for the specified line range within the text buffer.
Public method GetPairExtents Method information not provided. Do not use this method.
Public method GetPositionOfLine Returns the position number of a line.
Public method GetPositionOfLineIndex Returns the position number in the text buffer, given a line and column number.
Public method GetSize
Public method GetStateFlags Returns the state flags of the text buffer.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUndoManager Returns the undo manager for this buffer.
Public method InitializeContent Initializes the content of the text buffer.
Public method IVsTextLines_GetLanguageServiceID Returns the unique identifier of the language that is providing colorization and other attribute data to this buffer.
Public method IVsTextLines_GetLastLineIndex Returns the last line in the text buffer.
Public method IVsTextLines_GetLengthOfLine Returns the length of a line in the buffer.
Public method IVsTextLines_GetLineCount Returns the number of lines in the buffer.
Public method IVsTextLines_GetLineIndexOfPosition Returns the line and column numbers in the text buffer, given a position number.
Public method IVsTextLines_GetPositionOfLine Returns the position number of a line.
Public method IVsTextLines_GetPositionOfLineIndex Returns the position number in the text buffer, given a line and column number.
Public method IVsTextLines_GetSize Returns the size in characters of the buffer.
Public method IVsTextLines_GetStateFlags Returns the state flags of the text buffer.
Public method IVsTextLines_GetUndoManager Returns the undo manager for this buffer.
Public method IVsTextLines_InitializeContent Initializes the content of the text buffer.
Public method IVsTextLines_LockBuffer Locks the text buffer for the purpose of access control.
Public method IVsTextLines_LockBufferEx Extension of the LockBuffer method.
Public method IVsTextLines_Reload Reloads the text buffer.
Public method IVsTextLines_Reserved1 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved10 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved2 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved3 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved4 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved5 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved6 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved7 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved8 Reserved in the Vtable for future use.
Public method IVsTextLines_Reserved9 Reserved in the Vtable for future use.
Public method IVsTextLines_SetLanguageServiceID Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer.
Public method IVsTextLines_SetStateFlags Sets the state flags of the text buffer.
Public method IVsTextLines_UnlockBuffer Unlocks a buffer locked with the method LockBuffer.
Public method IVsTextLines_UnlockBufferEx Extension of the UnlockBuffer method.
Public method IVsTextLinesReserved1 Method information not provided. Do not use this method.
Public method LockBuffer Locks the text buffer for the purpose of access control.
Public method LockBufferEx Extension of the LockBuffer method.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReleaseLineData Releases the LINEDATA structure.
Public method ReleaseLineDataEx Releases the LINEDATAEX structure.
Public method ReleaseMarkerData Cleans up the MARKERDATA structure.
Public method Reload Reloads the text buffer.
Public method ReloadLines Replaces text without deleting markers.
Public method ReplaceLines Handles stream-like line editing, such as line breaking and line joining.
Public method ReplaceLinesEx Handles stream-like line editing, such as line breaking and line joining.
Public method Reserved1 Reserved in the Vtable for future use.
Public method Reserved10 Reserved in the Vtable for future use.
Public method Reserved2 Reserved in the Vtable for future use.
Public method Reserved3 Reserved in the Vtable for future use.
Public method Reserved4 Reserved in the Vtable for future use.
Public method Reserved5 Reserved in the Vtable for future use.
Public method Reserved6 Reserved in the Vtable for future use.
Public method Reserved7 Reserved in the Vtable for future use.
Public method Reserved8 Reserved in the Vtable for future use.
Public method Reserved9 Reserved in the Vtable for future use.
Public method SetLanguageServiceID Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer.
Public method SetStateFlags Sets the state flags of the text buffer.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method UnadviseTextLinesEvents Method information not provided. Do not use this method.
Public method UnlockBuffer Unlocks a buffer locked with the method LockBuffer.
Public method UnlockBufferEx Extension of the UnlockBuffer method.

Top

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace