VSTextMacros icon indicating copy to clipboard operation
VSTextMacros copied to clipboard

Playback macro to end of document

Open peakpeak-github opened this issue 4 years ago • 3 comments

Playback macro to end of document menu item is missing but exists in VSTextMacros.vsct. Can you enable it?

peakpeak-github avatar Aug 30 '21 07:08 peakpeak-github

I don't see this option in the vsct file. Are you sure?

As far as I know, this isn't implemented, so it is a new feature request.

It seems that it would be tricky to implement because there is no guaranty that the cursor ends further down the document after a macro is executed (a macro can do anything including moving the cursor up).

xps avatar Aug 30 '21 14:08 xps

      <Button guid="guidMacrosCmdSet" id="idPlaybackMacroToEndOfDocument" priority="0xF204" type="Button">
        <Parent guid="guidMacrosCmdSet" id="idMacrosGroup" />
        <CommandFlag>DynamicVisibility</CommandFlag>
        <CommandFlag>DontCache</CommandFlag>
        <CommandFlag>DefaultDisabled</CommandFlag>
        <CommandFlag>DefaultInvisible</CommandFlag>
        <Strings>
          <CommandName>PlaybackMacroToEndOfDocument</CommandName>
          <LocCanonicalName>PlaybackMacroToEndOfDocument</LocCanonicalName>
          <ButtonText>Playback macro to end of document</ButtonText>
        </Strings>
      </Button>

peakpeak-github avatar Aug 30 '21 15:08 peakpeak-github

This code snippet does not appear anywhere in this file: https://github.com/xps/VSTextMacros/blob/master/VSTextMacros.vsct

Are you looking at a branch/fork?

xps avatar Aug 30 '21 16:08 xps