#7955: [BTextView] can't set cursor to the end of this file ----------------------------------+---------------------------- Reporter: diver | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All ----------------------------------+---------------------------- Changes (by x-ist): * owner: korli => axeld * cc: x-otic@… (added) * component: Applications/StyledEdit => Kits/Interface Kit Comment: In fact this appears to be a BTextView issue. In rare cases such as described above BTextView happens to calculate the width of a tab close to zero (e.g. 0.000031). This patch adds a fallback to the default tab width in that case. Fixes #7995. This bug is visible under really seldom conditions. I could reproduce it with that exact string and with the default font (DejaVu Sans Book) only. Other fonts used with that string did not reveal this behaviour. However, it can be reproduced by pasting that text into the navigator editbox of Tracker, which indicated that it is an Interface Kit issue. -- Ticket URL: <http://dev.haiku-os.org/ticket/7955#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.