共用方式為


IVsTextManager2 Interface

Definition

Provides additional methods to the IVsTextManager interface.

public interface class IVsTextManager2
public interface class IVsTextManager2
__interface IVsTextManager2
[System.Runtime.InteropServices.Guid("072A28FD-1AF3-48AF-9C85-C79404DBA30C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextManager2
[System.Runtime.InteropServices.Guid("072A28FD-1AF3-48AF-9C85-C79404DBA30C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextManager2
[<System.Runtime.InteropServices.Guid("072A28FD-1AF3-48AF-9C85-C79404DBA30C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextManager2 = interface
[<System.Runtime.InteropServices.Guid("072A28FD-1AF3-48AF-9C85-C79404DBA30C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextManager2 = interface
Public Interface IVsTextManager2
Attributes

Methods

AttemptToCheckOutBufferFromScc3(IVsTextBuffer, String, UInt32, Int32, Int32)

Attempts to check a file out of SCC.

FireReplaceAllInFilesBegin()

Fires this event when Replace All, In Files operation is started.

FireReplaceAllInFilesEnd()

Fires this event when Replace All, In Files operation ends.

GetActiveView2(Int32, IVsTextBuffer, UInt32, IVsTextView)

Returns the active or previously active view.

GetBufferSccStatus3(IVsTextBuffer, String, Int32, Int32)

Determines whether a file is under SCC, and if so, attempts to check it out.

GetExpansionManager(IVsExpansionManager)

Gets the expansion manager.

GetUserPreferences2(VIEWPREFERENCES2[], FRAMEPREFERENCES2[], LANGPREFERENCES2[], FONTCOLORPREFERENCES2[])

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

NavigateToLineAndColumn2(IVsTextBuffer, Guid, Int32, Int32, Int32, Int32, UInt32)

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

NavigateToPosition2(IVsTextBuffer, Guid, Int32, Int32, UInt32)

Moves to the specified position.

ResetColorableItems(Guid)

Resets the colorable items.

SetUserPreferences2(VIEWPREFERENCES2[], FRAMEPREFERENCES2[], LANGPREFERENCES2[], FONTCOLORPREFERENCES2[])

Sets user preferences.

Applies to