Compartilhar via


VsTextPackage Interface

Definition

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

public interface class VsTextPackage : Microsoft::VisualStudio::TextManager::Interop::IVsTextManager
public interface class VsTextPackage : Microsoft::VisualStudio::TextManager::Interop::IVsTextManager
__interface VsTextPackage : Microsoft::VisualStudio::TextManager::Interop::IVsTextManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextPackageClass))]
[System.Runtime.InteropServices.Guid("909F83E3-B3FC-4BBF-8820-64378744B39B")]
public interface VsTextPackage : Microsoft.VisualStudio.TextManager.Interop.IVsTextManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextPackageClass))]
[System.Runtime.InteropServices.Guid("909F83E3-B3FC-4BBF-8820-64378744B39B")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsTextPackage : Microsoft.VisualStudio.TextManager.Interop.IVsTextManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextPackageClass))>]
[<System.Runtime.InteropServices.Guid("909F83E3-B3FC-4BBF-8820-64378744B39B")>]
type VsTextPackage = interface
    interface IVsTextManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextPackageClass))>]
[<System.Runtime.InteropServices.Guid("909F83E3-B3FC-4BBF-8820-64378744B39B")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsTextPackage = interface
    interface IVsTextManager
Public Interface VsTextPackage
Implements IVsTextManager
Derived
Attributes
Implements

Methods

AdjustFileChangeIgnoreCount(IVsTextBuffer, Int32)

Increases or decreases the ignore count for file changes.

(Inherited from IVsTextManager)
AttemptToCheckOutBufferFromScc(IVsUserData, Int32)

Method information not provided.

(Inherited from IVsTextManager)
AttemptToCheckOutBufferFromScc2(String, Int32, Int32)

Attempts to check out a file from source code control.

(Inherited from IVsTextManager)
CreateSelectionAction(IVsTextBuffer, IVsTextSelectionAction)

Method information is not provided. Do not use this method.

(Inherited from IVsTextManager)
EnumBuffers(IVsEnumTextBuffers)

Enumerates text buffers. Not yet implemented.

(Inherited from IVsTextManager)
EnumIndependentViews(IVsTextBuffer, IVsEnumIndependentViews)

Enumerates the independent views.

(Inherited from IVsTextManager)
EnumLanguageServices(IVsEnumGUID)

Enumerates the registered language service IDs.

(Inherited from IVsTextManager)
EnumViews(IVsTextBuffer, IVsEnumTextViews)

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

(Inherited from IVsTextManager)
GetActiveView(Int32, IVsTextBuffer, IVsTextView)

Returns the active or previously active view.

(Inherited from IVsTextManager)
GetBufferSccStatus(IVsUserData, Int32)

Method information not provided. Do not use this method.

(Inherited from IVsTextManager)
GetBufferSccStatus2(String, Int32, Int32)

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

(Inherited from IVsTextManager)
GetMarkerTypeCount(Int32)

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

(Inherited from IVsTextManager)
GetMarkerTypeInterface(Int32, IVsTextMarkerType)

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

(Inherited from IVsTextManager)
GetPerLanguagePreferences(LANGPREFERENCES[])

Method information is not provided.

(Inherited from IVsTextManager)
GetRegisteredMarkerTypeID(Guid, Int32)

Returns a registered marker type.

(Inherited from IVsTextManager)
GetShortcutManager(IVsShortcutManager)

Returns the shortcut manager.

(Inherited from IVsTextManager)
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.

(Inherited from IVsTextManager)
IgnoreNextFileChange(IVsTextBuffer)

Notifies that the next file change is to be ignored.

(Inherited from IVsTextManager)
MapFilenameToLanguageSID(String, Guid)

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

(Inherited from IVsTextManager)
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.

(Inherited from IVsTextManager)
NavigateToPosition(IVsTextBuffer, Guid, Int32, Int32)

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

(Inherited from IVsTextManager)
RegisterBuffer(IVsTextBuffer)

Registers a text buffer with the text manager.

(Inherited from IVsTextManager)
RegisterIndependentView(Object, IVsTextBuffer)

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

(Inherited from IVsTextManager)
RegisterView(IVsTextView, IVsTextBuffer)

Method information is not provided.

(Inherited from IVsTextManager)
SetFileChangeAdvise(String, Int32)

Method information is not provided.

(Inherited from IVsTextManager)
SetPerLanguagePreferences(LANGPREFERENCES[])

Method information is not provided.

(Inherited from IVsTextManager)
SetUserPreferences(VIEWPREFERENCES[], FRAMEPREFERENCES[], LANGPREFERENCES[], FONTCOLORPREFERENCES[])

Sets user preferences.

(Inherited from IVsTextManager)
SuspendFileChangeAdvise(String, Int32)

Suspends file change notifications for a given file.

(Inherited from IVsTextManager)
UnregisterBuffer(IVsTextBuffer)

Unregisters a buffer.

(Inherited from IVsTextManager)
UnregisterIndependentView(Object, IVsTextBuffer)

Unregisters an externally-created view.

(Inherited from IVsTextManager)
UnregisterView(IVsTextView)

Method information is not provided.

(Inherited from IVsTextManager)

Applies to