IVsTextBuffer 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. Also see IVsTextBufferEx, which adds GetTrackChanges and SetTrackChangesSuppression methods.
The IVsTextBuffer type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetLanguageServiceID | Returns the unique identifier of the language that is providing colorization and other attribute data to this buffer. | |
GetLastLineIndex | Returns the last line in the text buffer. | |
GetLengthOfLine | Returns the length of a line in the buffer. | |
GetLineCount | Returns the number of lines in the buffer. | |
GetLineIndexOfPosition | Returns the line and column numbers in the text buffer, given a position number. | |
GetPositionOfLine | Returns the position number of a line. | |
GetPositionOfLineIndex | Returns the position number in the text buffer, given a line and column number. | |
GetSize | Returns the size in characters of the buffer. | |
GetStateFlags | Returns the state flags of the text buffer. | |
GetUndoManager | Returns the undo manager for this buffer. | |
InitializeContent | Initializes the content of the text buffer. | |
LockBuffer | Has no effect. Deprecated. | |
LockBufferEx | Has no effect. Deprecated. | |
Reload | Reloads the text buffer. | |
Reserved1 | Reserved in the Vtable for future use. | |
Reserved10 | Reserved in the Vtable for future use. | |
Reserved2 | Reserved in the Vtable for future use. | |
Reserved3 | Reserved in the Vtable for future use. | |
Reserved4 | Reserved in the Vtable for future use. | |
Reserved5 | Reserved in the Vtable for future use. | |
Reserved6 | Reserved in the Vtable for future use. | |
Reserved7 | Reserved in the Vtable for future use. | |
Reserved8 | Reserved in the Vtable for future use. | |
Reserved9 | Reserved in the Vtable for future use. | |
SetLanguageServiceID | Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer. | |
SetStateFlags | Sets the state flags of the text buffer. | |
UnlockBuffer | Has no effect. Deprecated. | |
UnlockBufferEx | Has no effect. Deprecated. |
Top