[haiku-bugs] Re: [Haiku] #10762: Files opened in StyleEdit cannot search text

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Sat, 19 Apr 2014 15:17:15 -0000

#10762: Files opened in StyleEdit cannot search text
---------------------------------------+-------------------------------
   Reporter:  HAL                      |      Owner:  korli
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/StyledEdit  |    Version:  R1/Development
 Resolution:                           |   Keywords:  text unsearchable
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+-------------------------------

Comment (by humdinger):

 Still can't reproduce...

 Things to consider: when opening a prestine text file (i.e. one that was
 never opened in StyledEdit) like a fresh syslog, StyledEdit sets the
 cursor at the end of the file. Therefore, searching without wrap-around
 won't find anything.[[BR]]
 It could be argued that setting the cursor to the top of the file would be
 better for that reason.

 If you're unsure where the cursor position is in your file before starting
 your search, press a key to jump the view to the cursor.

 You may want to remove the be:caret_position attribute of the text file or
 play with its value if you keep experimenting (either from Terminal or
 DiskProbe). I tried entering a value bigger than the file to see how
 StyledEdit reacts. It correctly sets the cursor to the end of the file. So
 that can't be your issue either...

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

Other related posts: