notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
"Copy bookmarked lines" doesn't copy bookmarked lines
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
When I bookmark lines, then select Search --> Bookmark --> Copy Bookmarked Lines, nothing is copied and the clipboard is empty.
If it matters, this was after opening a large file and finding that NPP could not remove non-bookmarked lines (noted in this report: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13442 ), though I did restart NPP.
Steps to Reproduce the Issue
- Search for text in an open file
- Bookmark matches for that text
- Search --> Bookmark --> Copy Bookmarked Lines
- Paste the copied text into another tab. No text. :(
Expected Behavior
The lines of text which were bookmarked get pasted into the new tab.
Actual Behavior
Nothing is pasted.
Debug Information
Notepad++ v8.5.7 (64-bit)
Build time : Sep 6 2023 - 23:13:49
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Users\cb892961\Documents\Projects\Privet\PrivetEditor\log\log.priveteditor-20230928.txt"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.3448
Current ANSI codepage : 1252
Plugins :
JsonTools (4.4)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening a file, bookmarking search matches, and using Search → Bookmark → Copy Bookmarked Lines. Trace the menu command responsible for copying bookmarked lines and verify that the selected lines appear in the clipboard when pasted into another tab. Done means the reproduced workflow copies the bookmarked lines instead of leaving the clipboard empty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100