| Ticket UUID: | 5b97764fc685d50bed6b668137441e456f9bb59c | |||
| Title: | Revised [text]: tag raise/lower does not update the elide state | |||
| Type: | Bug | Version: | revised_text | |
| Submitter: | nab | Created on: | 2026-10-11 12:42:12 | |
| Subsystem: | 18. [text] | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-10-11 13:58:46 | |
| Resolution: | Fixed | Closed By: | nab | |
| Closed on: | 2026-10-11 13:58:46 | |||
| Description: |
Changing the priority of an elide tag does not change what is elided. The legacy widget gives
ChangeTagPriority only renumbers the priorities; the branches and links of the elided ranges are not updated. The update code (UpdateElideInfo with ELISION_HAS_BEEN_CHANGED) computes the previous state by toggling the elide value of the changed tag between 0 and 1, so it cannot express a change of priority. It cannot express a change from or to an unset -elide either, which may be why | |||
| User Comments: |
nab added on 2026-10-11 13:58:46:
Fixed in [a3f0ef6d3c|a3f0ef6d3c], merged into revised_text with [31036584a3|31036584a3]. ChangeTagPriority now recomputes the elided ranges where the tag is set, from its first to its last range extended to the enclosing elided ranges, from the tag information (as the undo code does); undo and redo of a priority change go through the same path. Tests textTag-20.2 to 20.4. The -elide {} case reported in [05411ee533] is a different bug, not fixed by this. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki