notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[BUG] Unable to edit long lists
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
Word wrap makes a long string file freeze
Steps To Reproduce
- Paste a list of e.g. 30k rows where each row is an e.g. five digit number
- Replace /r/n with "," (excluding quotes)
- The lists converts into a large single line string like 11111,22222,33333, etc
- Notepad++ freezes a lot both during replace
- Notepad++ also freezes a lot after replace, when trying to vertically scroll the window with the large single line string especially when word wrap is enabled.
- Notepad++ also takes a lot of time and freezes a lot when trying to copy the long string into clipboard
Current Behavior
- Paste a list of e.g. 30k rows where each row is an e.g. five digit number
- Replace /r/n with "," (excluding quotes)
- The lists converts into a large single line string like 11111,22222,33333, etc
- Notepad++ freezes a lot both during replace
- Notepad++ also freezes a lot after replace, when trying to vertically scroll the window with the large single line string especially when word wrap is enabled.
- Notepad++ also takes a lot of time and freezes a lot when trying to copy the long string into clipboard
Expected Behavior
Not to freeze
Debug Information
Latest version on a fast Win11 machine.
Anything else?
No response
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 freeze with a 30k-row list converted to one long line, then compare behavior with word wrap enabled during replacement, scrolling, and copying. Trace the relevant editor paths for these operations; done means the same workload remains responsive without freezes or excessive delays.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100