GNU nano - Bugs: bug #60429, toggling line numbers can be slow...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60429: toggling line numbers can be slow when using --softwrap
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Wed 21 Apr 2021 09:50:33 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Wed 21 Apr 2021 03:10:10 PM UTC, comment #1: |
Benno Schulenberg <bens> |
Wed 21 Apr 2021 09:50:33 AM UTC, original submission:
To reproduce, download http://unicode.org/Public/UCD/latest/ucdxml/ucd.all.grouped.zip, unzip, and then run:
Reading the file seems to take about two seconds. But it's not the actual reading that takes so much time. Because: now switch line numbers on with M-N. It takes about a second before the line numbers appear. Now switch the line numbers bakc off: M-N. It takes about a second before the line numbers disappear. This is unacceptable. Toggling the line numbers should be instantaneous.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-04-30 | bens | Open/Closed | Open | Closed | |
2021-04-21 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | None | Fixed |
Powered by Savane 3.13-4448.
Corresponding source code
Fixed in git, commit 49d8b99e, by removing all the costly recomputations of 'extrarows'.
The resulting incorrect large size of the indicator when there are several softwrapped chunks on the screen will be addressed later.