#8447: TextView GetText() doesn't straddle the "Gap" properly ----------------------------------+---------------------------- Reporter: Pete | Owner: axeld Type: bug | Status: new Priority: critical | Milestone: R1/alpha5 Component: Kits/Interface Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: 11132 Has a Patch: 1 | Platform: All ----------------------------------+---------------------------- Comment (by Pete): Replying to [comment:5 stippi]: > Oh, and I don't know just looking from the patch if the calculation of "afterLen" is indeed correct. It would only be if "length" already accounted for fGapCount in the code above the patch. "length" doesn't have to know anything about the gap. It's checked against "Length()" to be clipped if necessary, but that too doesn't care about the gap -- it's just the total number of actual "Items" (bytes, again). -- Ticket URL: <https://dev.haiku-os.org/ticket/8447#comment:8> Haiku <https://dev.haiku-os.org> Haiku - the operating system.