共用方式為


IVsTextMacroHelper Interface

Definition

Generates macro recording code.

public interface class IVsTextMacroHelper
public interface class IVsTextMacroHelper
__interface IVsTextMacroHelper
[System.Runtime.InteropServices.Guid("CAF8109F-B74B-429F-A11A-4944AADE9AB2")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextMacroHelper
[System.Runtime.InteropServices.Guid("CAF8109F-B74B-429F-A11A-4944AADE9AB2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextMacroHelper
[<System.Runtime.InteropServices.Guid("CAF8109F-B74B-429F-A11A-4944AADE9AB2")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextMacroHelper = interface
[<System.Runtime.InteropServices.Guid("CAF8109F-B74B-429F-A11A-4944AADE9AB2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextMacroHelper = interface
Public Interface IVsTextMacroHelper
Attributes

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.

Methods

RecordActivateDocument()

Records that the document was activated.

RecordBookmarkClearAll()

Records that all bookmarks were cleared.

RecordBookmarkNextPrev(Int32)

Records move to next or previous bookmark.

RecordBookmarkSetClear(Int32)

Records set or clear the current bookmark.

RecordChangeCase(CASESELECTION_TYPE)

Records change of case.

RecordCollapseSelection()

Records collapse of the current selection.

RecordCopy()

Records copy of the current selection to the clipboard.

RecordCut()

Records cut of the current selection to the clipboard.

RecordDelete(Int32, UInt32)

Records delete action.

RecordDeleteSpace(Int32)

Records delete of space.

RecordEnterBoxMode()

Records entering box mode.

RecordFormatSelection()

Records format selection.

RecordGotoLine(Int32, Int32)

Records moving position to the specified line.

RecordIndentUnindent(Int32)

Records indent or unindent action.

RecordInsertFile(String)

Records insert file action.

RecordMoveSelectionAbs(MOVESELECTION_ABS_TYPE, Int32)

Records absolute move of selection.

RecordMoveSelectionRel(MOVESELECTION_REL_TYPE, Int32, Int32)

Records relative move of selection.

RecordNewLine()

Records new line action.

RecordPaste()

Records paste from clipboard.

RecordRemovePreviousTyping(String)

Records action to remove previous typing.

RecordSelectAll()

Records action to select all.

RecordSwapAnchor()

Records an anchor swap.

RecordTabifyUntabify(Int32)

Records a tabify or unify action.

RecordTypeChar(UInt16, Int32)

Records typing a character.

RecordTypeChars(String, Int32)

Records typing multiple characters.

Applies to