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)

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextManagerClass

[ClassInterfaceAttribute(0)]
[GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")]
public class VsTextManagerClass : IVsTextManager, VsTextManager

NameDescription
System_CAPS_pubmethodVsTextManagerClass()

Create a new instance of the class.

NameDescription
System_CAPS_pubmethodAdjustFileChangeIgnoreCount(IVsTextBuffer, Int32)

Increases or decreases the ignore count for file changes.

System_CAPS_pubmethodAttemptToCheckOutBufferFromScc(IVsUserData, Int32)

Method information not provided. Do not use.

System_CAPS_pubmethodAttemptToCheckOutBufferFromScc2(String, Int32, Int32)

Attempts to check out a file from source code control.

System_CAPS_pubmethodCreateSelectionAction(IVsTextBuffer, IVsTextSelectionAction)

Method information not provided. Do not use.

System_CAPS_pubmethodEnumBuffers(IVsEnumTextBuffers)

Enumerate text buffers. Not yet implemented.

System_CAPS_pubmethodEnumIndependentViews(IVsTextBuffer, IVsEnumIndependentViews)

Enumerates independent views.

System_CAPS_pubmethodEnumLanguageServices(IVsEnumGUID)

Enumerates the registered language services ids.

System_CAPS_pubmethodEnumViews(IVsTextBuffer, IVsEnumTextViews)

Enumerates views that are provided with the core editor and are associated with a particular text buffer.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetActiveView(Int32, IVsTextBuffer, IVsTextView)

Returns the active or previously active view.

System_CAPS_pubmethodGetBufferSccStatus(IVsUserData, Int32)

Method information not provided. Do not use.

System_CAPS_pubmethodGetBufferSccStatus2(String, Int32, Int32)

Returns information on whether a buffer is under source code control and, if so, whether the file is checked in.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMarkerTypeCount(Int32)

Returns the number of registered marker types within all buffers associated with the core text editor.

System_CAPS_pubmethodGetMarkerTypeInterface(Int32, IVsTextMarkerType)

Maps a numeric marker type ID to an interface that can be used to probe for specific information.

System_CAPS_pubmethodGetPerLanguagePreferences(LANGPREFERENCES[])

Method information not provided. Do not use.

System_CAPS_pubmethodGetRegisteredMarkerTypeID(Guid, Int32)

Returns a registered marker type.

System_CAPS_pubmethodGetShortcutManager(IVsShortcutManager)

Returns the shortcut manager.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUserPreferences(VIEWPREFERENCES[], FRAMEPREFERENCES[], LANGPREFERENCES[], FONTCOLORPREFERENCES[])

Returns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service.

System_CAPS_pubmethodIgnoreNextFileChange(IVsTextBuffer)

Notifies that the next file change is to be ignored.

System_CAPS_pubmethodMapFilenameToLanguageSID(String, Guid)

Given a file name, determines the registered language service, if one exists, that understands it.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNavigateToLineAndColumn(IVsTextBuffer, Guid, Int32, Int32, Int32, Int32)

Finds or creates an appropriate view on the specified buffer and places the selection at the specified location.

System_CAPS_pubmethodNavigateToPosition(IVsTextBuffer, Guid, Int32, Int32)

Finds or creates an appropriate view on the specified buffer and puts the selection on the specified linear position.

System_CAPS_pubmethodRegisterBuffer(IVsTextBuffer)

Registers a text buffer with the text manager.

System_CAPS_pubmethodRegisterIndependentView(Object, IVsTextBuffer)

Registers a view from a source other than the core editor.

System_CAPS_pubmethodRegisterView(IVsTextView, IVsTextBuffer)

Method information not provided. Do not use.

System_CAPS_pubmethodSetFileChangeAdvise(String, Int32)

Method information not provided. Do not use.

System_CAPS_pubmethodSetPerLanguagePreferences(LANGPREFERENCES[])

Method information not provided. Do not use.

System_CAPS_pubmethodSetUserPreferences(VIEWPREFERENCES[], FRAMEPREFERENCES[], LANGPREFERENCES[], FONTCOLORPREFERENCES[])

Sets user preferences.

System_CAPS_pubmethodSuspendFileChangeAdvise(String, Int32)

Suspends file change notifications for a given file.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregisterBuffer(IVsTextBuffer)

Unregisters a buffer.

System_CAPS_pubmethodUnregisterIndependentView(Object, IVsTextBuffer)

Unregisters an externally-created view.

System_CAPS_pubmethodUnregisterView(IVsTextView)

Method 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.

Return to top
Show: