Author Topic: Error parsing search results with long lines  (Read 387 times)

rowbearto

  • Senior Community Member
  • Posts: 2162
  • Hero Points: 132
Error parsing search results with long lines
« on: January 05, 2022, 04:38:34 pm »
I have a search result that found a line in a log file that is very long. I don't have soft wrap enabled. Since the line is long it gets broken up and its 2nd portion is in the next line in the search results window, but with same line number, this is expected.

But when I click on the search result on one of the continuation lines it doesn't go there and the status bar says:

"Error Parsing Search Results"

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6271
  • Hero Points: 484
Re: Error parsing search results with long lines
« Reply #1 on: January 05, 2022, 05:50:25 pm »
Please post a picture of the left side of the search results window (left most parts of long lines and prefix text). That way I can better understand what’s going on. If you can’t post your log info just make up a similar test case.

rowbearto

  • Senior Community Member
  • Posts: 2162
  • Hero Points: 132
Re: Error parsing search results with long lines
« Reply #2 on: January 05, 2022, 07:45:48 pm »
On support look for search_result_error.tar.gz.

There is a README file, screenshot, user.cfg.xml, logfile and instructions.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6271
  • Hero Points: 484
Re: Error parsing search results with long lines
« Reply #3 on: January 05, 2022, 07:59:04 pm »
Thanks for posting your user.cfg.xml. I didn't realize you could set the Maximum search result line length to 0. Not surprised that's causing problems. Should be pretty easy to fix.

rowbearto

  • Senior Community Member
  • Posts: 2162
  • Hero Points: 132
Re: Error parsing search results with long lines
« Reply #4 on: January 05, 2022, 08:05:04 pm »
I have it set to 0 based on this thread:

https://community.slickedit.com/index.php/topic,16822

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6271
  • Hero Points: 484
Re: Error parsing search results with long lines
« Reply #5 on: January 05, 2022, 08:24:51 pm »
Hotfix added for this