[haiku-bugs] [Haiku] #16485: TextView reacting weird on ENTER, DEL, BS

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 16 Aug 2020 17:23:20 -0000

#16485: TextView reacting weird on ENTER, DEL, BS
--------------------------------+-----------------------------
 Reporter:  humdinger           |       Owner:  nobody
     Type:  bug                 |      Status:  new
 Priority:  normal              |   Milestone:  Unscheduled
Component:  Kits/Interface Kit  |     Version:  R1/Development
 Keywords:                      |  Blocked By:
 Blocking:                      |    Platform:  All
--------------------------------+-----------------------------
 This is hrev54502.

 TextViews have recently started to react strangely on adding new lines or
 removing stuff with DEL and BACKSPACE. Easily reproduced in Mail and
 StyledEdit.

 Open StyledEdit and number the lines 1-5 so it looks like this:

 {{{
 1
 2
 3
 4
 5
 }}}

 Now set your cursor after "3" and press ENTER.\\
 -> Instead of a new empty line, line 4 is removed

 Go back to the original, lines numbered 1-5, set the cursor again after
 "3" and press DEL.\\
 -> The "4" does move one line up, so line 3 says "34", but the lines 4 and
 5 are still in place.

 Similar issue when using BACKSPACE.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16485>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: