Поделиться через


IVsTextMacroHelper Interface

Enables macro recording code.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("CAF8109F-B74B-429F-A11A-4944AADE9AB2")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextMacroHelper
[GuidAttribute("CAF8109F-B74B-429F-A11A-4944AADE9AB2")]
[InterfaceTypeAttribute()]
public interface IVsTextMacroHelper
[GuidAttribute(L"CAF8109F-B74B-429F-A11A-4944AADE9AB2")]
[InterfaceTypeAttribute()]
public interface class IVsTextMacroHelper
[<GuidAttribute("CAF8109F-B74B-429F-A11A-4944AADE9AB2")>]
[<InterfaceTypeAttribute()>]
type IVsTextMacroHelper =  interface end
public interface IVsTextMacroHelper

The IVsTextMacroHelper type exposes the following members.

Methods

  Name Description
Public method RecordActivateDocument
Public method RecordBookmarkClearAll Clears all bookmarks.
Public method RecordBookmarkNextPrev
Public method RecordBookmarkSetClear
Public method RecordChangeCase
Public method RecordCollapseSelection
Public method RecordCopy
Public method RecordCut Cuts action to the clipboard.
Public method RecordDelete Deletes an action.
Public method RecordDeleteSpace
Public method RecordEnterBoxMode
Public method RecordFormatSelection
Public method RecordGotoLine
Public method RecordIndentUnindent
Public method RecordInsertFile
Public method RecordMoveSelectionAbs
Public method RecordMoveSelectionRel
Public method RecordNewLine
Public method RecordPaste
Public method RecordRemovePreviousTyping
Public method RecordSelectAll
Public method RecordSwapAnchor
Public method RecordTabifyUntabify
Public method RecordTypeChar
Public method RecordTypeChars

Top

Remarks

An action performed in the editor should be captured by recording automation code that can later be replayed by the user to repeat the action.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace