다음을 통해 공유


VsTextManagerClass Class

Definition

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

public ref class VsTextManagerClass : Microsoft::VisualStudio::TextManager::Interop::VsTextManager
[Windows::Foundation::Metadata::WebHostHidden]
class VsTextManagerClass : Microsoft::VisualStudio::TextManager::Interop::VsTextManager
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("F5E7E71D-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsTextManagerClass : Microsoft.VisualStudio.TextManager.Interop.VsTextManager
[System.Runtime.InteropServices.Guid("F5E7E71D-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsTextManagerClass : Microsoft.VisualStudio.TextManager.Interop.VsTextManager
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("F5E7E71D-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsTextManagerClass = class
    interface IVsTextManager
    interface VsTextManager
[<System.Runtime.InteropServices.Guid("F5E7E71D-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsTextManagerClass = class
    interface VsTextManager
    interface IVsTextManager
Public Class VsTextManagerClass
Implements VsTextManager
Inheritance
VsTextManagerClass
Attributes
Implements

Remarks

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.

Constructors

VsTextManagerClass()

Create a new instance of the class.

Methods

AdjustFileChangeIgnoreCount(IVsTextBuffer, Int32)

Increases or decreases the ignore count for file changes.

AttemptToCheckOutBufferFromScc(IVsUserData, Int32)

Method information not provided. Do not use.

AttemptToCheckOutBufferFromScc2(String, Int32, Int32)

Attempts to check out a file from source code control.

CreateSelectionAction(IVsTextBuffer, IVsTextSelectionAction)

Method information not provided. Do not use.

EnumBuffers(IVsEnumTextBuffers)

Enumerate text buffers. Not yet implemented.

EnumIndependentViews(IVsTextBuffer, IVsEnumIndependentViews)

Enumerates independent views.

EnumLanguageServices(IVsEnumGUID)

Enumerates the registered language services ids.

EnumViews(IVsTextBuffer, IVsEnumTextViews)

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

GetActiveView(Int32, IVsTextBuffer, IVsTextView)

Returns the active or previously active view.

GetBufferSccStatus(IVsUserData, Int32)

Method information not provided. Do not use.

GetBufferSccStatus2(String, Int32, Int32)

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

GetMarkerTypeCount(Int32)

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

GetMarkerTypeInterface(Int32, IVsTextMarkerType)

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

GetPerLanguagePreferences(LANGPREFERENCES[])

Method information not provided. Do not use.

GetRegisteredMarkerTypeID(Guid, Int32)

Returns a registered marker type.

GetShortcutManager(IVsShortcutManager)

Returns the shortcut manager.

GetUserPreferences(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.

IgnoreNextFileChange(IVsTextBuffer)

Notifies that the next file change is to be ignored.

MapFilenameToLanguageSID(String, Guid)

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

NavigateToLineAndColumn(IVsTextBuffer, Guid, Int32, Int32, Int32, Int32)

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

NavigateToPosition(IVsTextBuffer, Guid, Int32, Int32)

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

RegisterBuffer(IVsTextBuffer)

Registers a text buffer with the text manager.

RegisterIndependentView(Object, IVsTextBuffer)

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

RegisterView(IVsTextView, IVsTextBuffer)

Method information not provided. Do not use.

SetFileChangeAdvise(String, Int32)

Method information not provided. Do not use.

SetPerLanguagePreferences(LANGPREFERENCES[])

Method information not provided. Do not use.

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

Sets user preferences.

SuspendFileChangeAdvise(String, Int32)

Suspends file change notifications for a given file.

UnregisterBuffer(IVsTextBuffer)

Unregisters a buffer.

UnregisterIndependentView(Object, IVsTextBuffer)

Unregisters an externally-created view.

UnregisterView(IVsTextView)

Method information not provided. Do not use.

Applies to