Skip to content

Marked text needs to be copyable #6095

@sasumner

Description

@sasumner

Description of the Issue

When I use the Mark... feature to mark some large amount of text, often I want to copy only that marked text to a different place. Currently there is no easy way to do that.

Steps to Reproduce the Issue

  1. Create the following text in a new Notepad++ editing view tab:

    A baseball team from the fictional town of "Mudville" (implied to be the home
    team) is losing by two runs in its last inning. Both the team and its fans
    (a crowd of 5,000, according to the poem) believe they can win if Casey,
    Mudville's star player, gets to bat. However, Casey is scheduled to be the
    fifth batter of the inning, and the first two batters (Cooney and Barrows)
    fail to get on base. The next two batters (Flynn and Jimmy Blake) are
    perceived to be weak hitters with little chance of reaching base to allow
    Casey a chance to bat. Surprisingly, Flynn hits a single, and Blake follows
    with a double that allows Flynn to reach third base. Both runners are now in
    scoring position and Casey represents the potential winning run. Casey is so
    sure of his abilities that he does not swing at the first two pitches, both
    called strikes. On the last pitch, the overconfident Casey strikes out
    swinging, ending the game and sending the crowd home unhappy.

  2. Invoke the Search > Mark... function.

  3. In the Find what box enter (?-s)\bb.*?\b

  4. Tick the Wrap around box.

  5. Select Regular expression for Search mode.

  6. All other options unticked.

  7. Press the Mark All button.

  8. Observe text marked like so:

image

Expected Behavior

I expected to find a way to copy my marked text to the clipboard.

Actual Behavior

No easy way to copy marked text to the clipboard for use elsewhere.

Debug Information

Notepad++ v7.7.1 (32-bit)
Build time : Jun 16 2019 - 21:14:50
Path : C:.........\npp.7.7.1.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 10 (64-bit)
Plugins : ColumnTools.dll Explorer.dll LocationNavigate.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll

Metadata

Metadata

Assignees

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