Skip to content

Cut and paste in macro doesn't work properly #14634

@lrto

Description

@lrto

Description of the Issue

Since version 8.6.1, macros using cut and paste fail.

I was using versions 8.6.1 and 8.6.2, but I had to downgrade to 8.6, since macros were needed to a specific job and they were almost unusable.

Steps to Reproduce the Issue

  1. Start recording a Macro;
  2. Cut (Ctrl+X) an entire line of text or just some part of a word;
  3. Paste (Ctrl+V) it at a blank line at the end of the document;
  4. Stop recording;
  5. Put the caret at the beginning of another line of text and select Playback (Ctrl+Shift+P), in order to repeat the work.
  6. You will see the content will NOT be pasted at the end of the document.

Expected Behavior

The macro should work as expected. I've been using Notepad++ for many years, and have never seen this cut/paste macro issue.

Actual Behavior

Cut and paste in macro doesn't work properly, as described above.

Debug Information

I saw this issue extensively in Notepad++ v8.6.2 (64-bit). Is this really a bug? Is there any workaround?
(Meanwhile, I'll stick with v8.6)
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions