VsTextManagerClass Class

Provides general services for anyone wanting information about the active text views. See IVsTextManager.


Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public class VsTextManagerClass : IVsTextManager, 

The VsTextManagerClass type exposes the following members.

Public methodVsTextManagerClassCreate a new instance of the class.

Public methodAdjustFileChangeIgnoreCountIncreases or decreases the ignore count for file changes.
Public methodAttemptToCheckOutBufferFromSccMethod information not provided. Do not use.
Public methodAttemptToCheckOutBufferFromScc2Attempts to check out a file from source code control.
Public methodCreateSelectionActionMethod information not provided. Do not use.
Public methodEnumBuffersEnumerate text buffers. Not yet implemented.
Public methodEnumIndependentViewsEnumerates independent views.
Public methodEnumLanguageServicesEnumerates the registered language services ids.
Public methodEnumViewsEnumerates views that are provided with the core editor and are associated with a particular text buffer.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetActiveViewReturns the active or previously active view.
Public methodGetBufferSccStatusMethod information not provided. Do not use.
Public methodGetBufferSccStatus2Returns information on whether a buffer is under source code control and, if so, whether the file is checked in.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetMarkerTypeCountReturns the number of registered marker types within all buffers associated with the core text editor.
Public methodGetMarkerTypeInterfaceMaps a numeric marker type ID to an interface that can be used to probe for specific information.
Public methodGetPerLanguagePreferencesMethod information not provided. Do not use.
Public methodGetRegisteredMarkerTypeIDReturns a registered marker type.
Public methodGetShortcutManagerReturns the shortcut manager.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetUserPreferencesReturns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service.
Public methodIgnoreNextFileChangeNotifies that the next file change is to be ignored.
Public methodMapFilenameToLanguageSIDGiven a file name, determines the registered language service, if one exists, that understands it.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNavigateToLineAndColumnFinds or creates an appropriate view on the specified buffer and places the selection at the specified location.
Public methodNavigateToPositionFinds or creates an appropriate view on the specified buffer and puts the selection on the specified linear position.
Public methodRegisterBufferRegisters a text buffer with the text manager.
Public methodRegisterIndependentViewRegisters a view from a source other than the core editor.
Public methodRegisterViewMethod information not provided. Do not use.
Public methodSetFileChangeAdviseMethod information not provided. Do not use.
Public methodSetPerLanguagePreferencesMethod information not provided. Do not use.
Public methodSetUserPreferencesSets user preferences.
Public methodSuspendFileChangeAdviseSuspends file change notifications for a given file.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUnregisterBufferUnregisters a buffer.
Public methodUnregisterIndependentViewUnregisters an externally-created view.
Public methodUnregisterViewMethod information not provided. Do not use.

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft