notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[BUG] Unable to edit long lists

Open
#15,283 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Paste a list of e.g. 30k rows where each row is an e.g. five digit number
  2. Replace /r/n with "," (excluding quotes)
  3. The lists converts into a large single line string like 11111,22222,33333, etc
  4. Notepad++ freezes a lot both during replace
  5. 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.
  6. Notepad++ also takes a lot of time and freezes a lot when trying to copy the long string into clipboard
Current Behavior
  1. Paste a list of e.g. 30k rows where each row is an e.g. five digit number
  2. Replace /r/n with "," (excluding quotes)
  3. The lists converts into a large single line string like 11111,22222,33333, etc
  4. Notepad++ freezes a lot both during replace
  5. 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.
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.