Author Topic: Selective display and search list-all  (Read 2129 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Selective display and search list-all
« on: October 21, 2014, 09:32:25 PM »

Selective View.


I am using selective view with this reg-ex filter:
   16139|/Zxxx\(


Then I do a search, list all occurances and get these results:


File E:\tmp\log_4.txt           
  522 48:10-21 14:06:17.499: D/Zo
  720 35:10-21 14:06:17.699: V/Zo
  1800 48:10-21 14:06:18.449: D/Z
  1858 35:10-21 14:06:18.469: V/Z
  3684 48:10-21 14:06:21.839: D/Z
  3804 35:10-21 14:06:21.899: V/Z
  4856 35:10-21 14:06:22.479: V/Z


Now, I "view->Show All" to clear the selective display.
Search again with the same settings:


File E:\tmp\log_4.txt           
  522 48:10-21 14:06:17.499: D/Z
  720 35:10-21 14:06:17.699: V/Z
  1800 48:10-21 14:06:18.449: D/
  1858 35:10-21 14:06:18.469: V/
  3684 48:10-21 14:06:21.839: D/
  3804 35:10-21 14:06:21.899: V/
  4746 48:10-21 14:06:22.439: D/
  4883 35:10-21 14:06:22.479: V/


Note that the first result for line 4856 is the wrong line ... line 4856 does not match the search term. It really should show line 4883. (In Searchresults, Slick shows the text from line 4883, but it jumps the cursor to line 4856).
Line 4883 is displayed when Selective display is active.
Line 4746 is not displayed (correctly) with the SelectiveDisplay.




If I turn off list-all, then I search from the top (with selective display on), it goes through the 7 results.
On the last result, Slick dispalys line "4856" in the status bar, but this time the cursor is actually on line 4883 - and the cursor is placed right on the matching text. Moving the cursor up and down a bit here slick maintains the incorrect line number information.


If I jump to the bottom of the file and search backwards, Slick displays the correct line number (4883).


This is a plain text log file.


Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Selective display and search list-all
« Reply #1 on: October 23, 2014, 01:13:44 PM »
I was able to reproduce this, I will work on getting a fix in for next release.