GNU nano - Bugs: bug #65435, "Missing multidata"...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65435: "Missing multidata" error when justifying selection with soft wrapped lines
Submitter: | correctmost <correctmost> | ||
Submitted: | Fri 08 Mar 2024 12:45:47 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Sat 09 Mar 2024 09:28:36 AM UTC, comment #2: |
Benno Schulenberg <bens> |
Sat 09 Mar 2024 07:45:55 AM UTC, comment #1: Hm. One solution would be to add `|| ISSET(SOFTWRAP)` on line 1692 of src/text.c, but... it would too often cause recalculation when it's not actually needed. So... I will opt for a more on-demand solution: checking in edit_refresh() whether recalculation is needed: when the line above the viewport does not have multidata.
|
Benno Schulenberg <bens> |
Fri 08 Mar 2024 12:45:47 PM UTC, original submission:
File set-up for 'multi.py':
|
correctmost <correctmost> |
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 |
---|---|---|---|---|---|
2024-03-09 | bens | Status | In Progress | Fixed | |
2024-03-09 | bens | Status | None | In Progress | |
Assigned to | None | bens |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit 260f00c7, by detecting a lack of multidata earlier and recalculating it then.
(I've put an `ISSET(SOFTWRAP)` in there so that missing `recook = TRUE` settings in normal mode will still get shown on the status bar.)
Thanks for reporting.