SlickEdit Community

Archived Read Only Forums => SlickEdit 2014 v19 beta => Topic started by: IkerAriz on October 02, 2014, 06:08:29 pm

Title: B6: clicking on search result places cursor at wrong position in buffer
Post by: IkerAriz on October 02, 2014, 06:08:29 pm
After searching for a string in the current buffer with "List all occurrences" enabled, clicking on the search results (or cycling through them with Ctrl-G) places the cursor in the wrong location within the buffer (7 lines before the actual result in my case).

After shutting down SE and restarting the problem "went away".

Iker
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: link on October 02, 2014, 06:26:31 pm
I had the same issue (although in mine was the cursor was placed a couple of lines after the target).  Restarting also fixed it for me, for now.  B6 Win64.
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: Lee on October 02, 2014, 06:50:38 pm
Does this occur in a very large file (> 10MB)?  And were there modifications (lines inserted) to the buffer since the search?
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: IkerAriz on October 02, 2014, 06:59:39 pm
In my case the file was ~87K (2400 lines of c++ source). I had made several edits to the file, mostly deletions, but don't recall the net change to the file's line count.

Iker
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: Lee on October 02, 2014, 07:02:39 pm
That should have been okay, I may have to dig deeper.  Please post if you can get it to happen again.
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: IkerAriz on October 02, 2014, 07:34:44 pm
It's happening as I write this. Same file, I removed a few lines, searched (Ctrl-F), and clicked on a result - the cursor is placed before the expected line. If I search without "List all occurrences", or if I do the search via the "Find in Files" tab, the cursor positioning works as expected.

Iker
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: Lee on October 02, 2014, 07:42:22 pm
I've reproduced it now.  Will investigate the cause.
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: IkerAriz on October 29, 2014, 10:27:33 pm
Was this fixed in RC1? I haven't been able to reproduce the problem under RC1 so far.

Iker
Title: Re: B6: clicking on search result places cursor at wrong position in buffer
Post by: Clark on October 29, 2014, 11:56:53 pm
This should be fixed in RC1