VsTextPackage Interface
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)
Syntax
声明
<GuidAttribute("909F83E3-B3FC-4BBF-8820-64378744B39B")> _
Public Interface VsTextPackage _
Inherits IVsTextManager
[GuidAttribute("909F83E3-B3FC-4BBF-8820-64378744B39B")]
public interface VsTextPackage : IVsTextManager
[GuidAttribute(L"909F83E3-B3FC-4BBF-8820-64378744B39B")]
public interface class VsTextPackage : IVsTextManager
[<GuidAttribute("909F83E3-B3FC-4BBF-8820-64378744B39B")>]
type VsTextPackage =
interface
interface IVsTextManager
end
public interface VsTextPackage extends IVsTextManager
The VsTextPackage type exposes the following members.
Methods
Name | Description | |
---|---|---|
AdjustFileChangeIgnoreCount | Increases or decreases the ignore count for file changes. (Inherited from IVsTextManager.) | |
AttemptToCheckOutBufferFromScc | Method information not provided. (Inherited from IVsTextManager.) | |
AttemptToCheckOutBufferFromScc2 | Attempts to check out a file from source code control. (Inherited from IVsTextManager.) | |
CreateSelectionAction | Method information is not provided. Do not use this method. (Inherited from IVsTextManager.) | |
EnumBuffers | Enumerates text buffers. Not yet implemented. (Inherited from IVsTextManager.) | |
EnumIndependentViews | Enumerates the independent views. (Inherited from IVsTextManager.) | |
EnumLanguageServices | Enumerates the registered language service IDs. (Inherited from IVsTextManager.) | |
EnumViews | Enumerates views that are provided with the core editor and are associated with a particular text buffer. (Inherited from IVsTextManager.) | |
GetActiveView | Returns the active or previously active view. (Inherited from IVsTextManager.) | |
GetBufferSccStatus | Method information not provided. Do not use this method. (Inherited from IVsTextManager.) | |
GetBufferSccStatus2 | Returns information on whether a buffer is under source code control and, if so, whether the file is checked in. (Inherited from IVsTextManager.) | |
GetMarkerTypeCount | Returns the number of registered marker types within all buffers associated with the core text editor. (Inherited from IVsTextManager.) | |
GetMarkerTypeInterface | Maps a numeric marker type ID to an interface that can be used to probe for specific information. (Inherited from IVsTextManager.) | |
GetPerLanguagePreferences | Method information is not provided. (Inherited from IVsTextManager.) | |
GetRegisteredMarkerTypeID | Returns a registered marker type. (Inherited from IVsTextManager.) | |
GetShortcutManager | Returns the shortcut manager. (Inherited from IVsTextManager.) | |
GetUserPreferences | 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 | Notifies that the next file change is to be ignored. (Inherited from IVsTextManager.) | |
MapFilenameToLanguageSID | Given a file name, determines the registered language service, if one exists, that understands it. (Inherited from IVsTextManager.) | |
NavigateToLineAndColumn | Finds or creates an appropriate view on the specified buffer and places the selection at the specified location. (Inherited from IVsTextManager.) | |
NavigateToPosition | Finds or creates an appropriate view on the specified buffer and puts the selection on the specified linear position. (Inherited from IVsTextManager.) | |
RegisterBuffer | Registers a text buffer with the text manager. (Inherited from IVsTextManager.) | |
RegisterIndependentView | Registers a view from a source other than the core editor. (Inherited from IVsTextManager.) | |
RegisterView | Method information is not provided. (Inherited from IVsTextManager.) | |
SetFileChangeAdvise | Method information is not provided. (Inherited from IVsTextManager.) | |
SetPerLanguagePreferences | Method information is not provided. (Inherited from IVsTextManager.) | |
SetUserPreferences | Sets user preferences. (Inherited from IVsTextManager.) | |
SuspendFileChangeAdvise | Suspends file change notifications for a given file. (Inherited from IVsTextManager.) | |
UnregisterBuffer | Unregisters a buffer. (Inherited from IVsTextManager.) | |
UnregisterIndependentView | Unregisters an externally-created view. (Inherited from IVsTextManager.) | |
UnregisterView | Method information is not provided. (Inherited from IVsTextManager.) |
Top