Opened 18 years ago
Closed 18 years ago
#854 closed bug (fixed)
TextView chokes on "\n"
Reported by: | johndrinkwater | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Interface Kit | Version: | |
Keywords: | Cc: | diver | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
A recent change to TextView has broken line endings.
How to reproduce: load AboutHaiku, looks at the credits view or load StyledEdit, enter a few lines of text, and save.
(Reported on behalf of Stargater)
Change History (5)
comment:1 by , 18 years ago
Cc: | added |
---|
comment:2 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 18 years ago
Milestone: | → R1 |
---|
follow-up: 5 comment:4 by , 18 years ago
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to jackburton:
Fixed in hrev18874
Note:
See TracTickets
for help on using tickets.
Found the problem: http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/kits/interface/TextView.cpp?rev=18837&r1=18836&r2=18837
unfortunately BView::DrawString() chokes on newlines, I removed the lenght parameter, but looks like I have to put it back.