#8447: TextView GetText() doesn't straddle the "Gap" properly --------------------------------+------------------------- Reporter: Pete | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/alpha3 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------------+------------------------- If a segment of text in a TextView is edited, and then a Gettext() is used on a selection that straddles the edited section, the returned string will be wrong. The reason turns out to be that there is a missing term in a statement in TextGapBuffer.cpp::GetString(int32 offset, int32 length, char* buffer). I'm attaching a patch. -- Ticket URL: <http://dev.haiku-os.org/ticket/8447> Haiku <http://dev.haiku-os.org> Haiku - the operating system.