Overview
Artifact ID: | 5d1669c95132d3f95c8f284eeb628d7407f7efc5cde19c37abddfbe2a4550004 |
---|---|
Ticket: | bdd1f64523f509f2632cdaaed4447de8c5abb7cb
Assertion failed when switching -elide in the revised text widget |
User & Date: | fvogel 2025-01-29 20:55:37 |
Changes
- icomment:
> If this assert is ignored then there is crash later on in my application. I'm not reproducing this. I don't know about your application, but when the assert in tkTextBTree.c:14855 is ignored, then the assert in tkTextBTree.c:14777 triggers, and when the latter is also ignored the given test case succeeds as expected. That said, the assert on line 14855 makes sense. It reads: <verbatim> assert(SegmentIsElided(sharedTextPtr, segPtr, textPtr)); </verbatim> which in a function named <code>TkBTreeFindStartOfElidedRange</code> makes quite some sense.
- login: "fvogel"
- mimetype: "text/x-fossil-wiki"