notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Copied text is pasted with comments when run 'Block comment/uncomment' command after copying
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
Copied text is pasted with comments when run 'Block comment/uncomment' command after copying
Steps to Reproduce the Issue
- Select text
- Copy block to clipboard
- Ctrl+K to comment selected block
- Paste text from clipboard
- Pasted text is commented
Expected Behavior
Pasted text is equal copied text
Actual Behavior
Pasted text is not equal copied text
Debug Information
Notepad++ v8.5.8 (32-bit)
Build time : Oct 15 2023 - 21:12:23
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line : "D:\Web\jupiter\flats.sql"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise LTSC 2021 (64-bit)
OS Version : 21H2
OS Build : 19044.3570
Current ANSI codepage : 1251
Plugins :
DSpellCheck (1.4.6)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
XMLTools (3.1.1.10)
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 copying selected text, running the Ctrl+K Block comment/uncomment command, and pasting from the clipboard. Trace the implementation of that command and clipboard handling, then verify that pasted text remains identical to the original copied text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100