Skip to content

CopyMarkedText button in Mark window does not record a macro action #13405

@alankilborn

Description

@alankilborn

Description of Issue

A press of the Copy Marked Text button during macro recording does not record the action into the macro.

Reference discussion here: https://community.notepad-plus-plus.org/topic/24271

Steps to Reproduce (StR) the Issue

  1. Invoke the Mark window with Ctrl+m
  2. Start macro recording
  3. Press the Copy Marked Text button in the Mark window:
    image
  4. Stop macro recording
  5. Attempt to playback macro with Ctrl+Shift+P

Expected Behavior

Expected any marked text in the active document to be copied to the clipboard

Actual Behavior

Can't even playback anything (because nothing was recorded) and thus playback command is not enabled.

Workaround

Record the Search menu > Copy Styled Text > Find Mark Style action into your macro sequence where you would want to include the Mark window > Copy Marked Text press.

Debug Information

Notepad++ v8.5.1 (64-bit)
Build time : Mar 21 2023 - 19:16:10
Path : W:\npp.misc_NoBackup\Releases\npp.8.5.1\npp.8.5.1.portable.x64\notepad++.exe
Command Line : -titleAdd="8.5.1 64-bit" -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2604
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)

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