Opened 13 years ago

Closed 13 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:
Has a Patch: no Platform: All


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 diver, 13 years ago

Cc: diver added

comment:2 by jackburton, 13 years ago

Owner: changed from axeld to jackburton
Status: newassigned

comment:3 by jackburton, 13 years ago

Milestone: R1

comment:4 by jackburton, 13 years ago

Found the problem:

unfortunately BView::DrawString() chokes on newlines, I removed the lenght parameter, but looks like I have to put it back.

in reply to:  4 comment:5 by jackburton, 13 years ago

Resolution: fixed
Status: assignedclosed

Replying to jackburton:

Fixed in hrev18874

Note: See TracTickets for help on using tickets.