[haiku-bugs] Re: [Haiku] #8106: BTextView::CountLines() returns wrong result

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 Nov 2011 20:01:51 -0000

#8106: BTextView::CountLines() returns wrong result
----------------------------------+----------------------------
   Reporter:  bigmike             |      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:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 That's also apparent when using Mail (or rather it was, I might have
 changed that in the mean time), so in any case, it's different from the
 BeOS implementation. The only reason I could imagine it is done like this
 is because of alerts, as the last newline doesn't really make any
 difference to have (for the layout). But I guess CountLines() should not
 be used there then, and be changed instead.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8106#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: