[haiku-bugs] Re: [Haiku] #11132: BTextView::GetText is broken

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Aug 2014 20:55:05 -0000

#11132: BTextView::GetText is broken
----------------------------------+----------------------------
   Reporter:  waddlesplash        |      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 waddlesplash):

 Oh, and
 
[http://grok.bikemonkey.org/source/xref/haiku/src/kits/interface/TextView.cpp#1216
 BTextView::Text()] works because it bypasses that logic for
 
[http://grok.bikemonkey.org/source/xref/haiku/src/kits/interface/textview_support/TextGapBuffer.cpp#237
 TextGapBuffer::RealText()] which doesn't deal with ranges and concatenates
 the whole buffer.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11132#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: