Author Topic: Ctrl+F3 searching is broken  (Read 2545 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2512
  • Hero Points: 206
  • Text
Ctrl+F3 searching is broken
« on: September 19, 2019, 08:56:28 pm »
I use Ctrl+F3 to quick search a lot.
Now it doesn't repeat.

Repro
1. Place cursor at the start of a word
2. Ctrl+F3 -- the word is highlighted.
3. Ctrl+F3 again -- the next occurrence is found
4. Ctrl+F3 again -- now it fails to find more occurrences.
5. Press right-arrow -- the selection is cleared.
6. Ctrl+F3 again -- the next occurrence is found
7. Ctrl+F3 again -- now it fails to find more occurrences.

Seems like at step 4 is must be limited to searching in the current selection?

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Ctrl+F3 searching is broken
« Reply #1 on: September 20, 2019, 11:15:16 am »
I have tried default config and one your configs you have uploaded in the past, and am not seeing what you are seeing in any version so far.  Is there a particular example file or language mode I need to be in?  There isn't any state carried over from quick-search to quick-search.  It always rebuilds the search word from either current selection or word at cursor every time.

jporkkahtc

  • Senior Community Member
  • Posts: 2512
  • Hero Points: 206
  • Text
Re: Ctrl+F3 searching is broken
« Reply #2 on: September 23, 2019, 07:50:47 pm »

So I messed up the repro steps - pressing F3 sometimes instead of always Ctrl+F3

Fixed:
Repro
1. Place cursor at the start of a word
2. Ctrl+F3  -- the word is highlighted.
3. F3       -- the next occurrence is found
4. F3 again -- now it fails to find more occurrences.
5. Press right-arrow -- the selection is cleared.
6. F3 again -- the next occurrence is found
7. F3 again -- now it fails to find more occurrences.

Seems like at step 4 is must be limited to searching in the current selection?

jporkkahtc

  • Senior Community Member
  • Posts: 2512
  • Hero Points: 206
  • Text
Re: Ctrl+F3 searching is broken
« Reply #3 on: September 23, 2019, 07:53:58 pm »
Also note that if I using big-find to search for something, then F3 works to find the next occurrence.

marksun

  • Community Member
  • Posts: 28
  • Hero Points: 5
Re: Ctrl+F3 searching is broken
« Reply #4 on: September 23, 2019, 08:00:08 pm »
I repro as well (I've only tested with c++).  It's just the F3 that's busted.  Two alternate repros are
1)  Ctrl+I and type a word to find.  F3 finds the next one.  Subsequent F3's don't budge unless you move the cursor to the right by one.
2) Ctrl+F and type a word to find.  Press the Find Next arrow and nothing changes.  Again, move the cursor to the right allows you to use the FindNext or F3 to find the next occurance.

F3 seems to fail if the word you're searching for is still selected by a previous find. (Note: manual selection of the word doesn't repro the issue)

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Ctrl+F3 searching is broken
« Reply #5 on: September 23, 2019, 08:02:27 pm »
Is this specific to Beta 3 or Beta 4 or is this something from previous builds as well?

UPDATE: Nevermind, it's Beta 4, just realized it's a complication caused by a fix that was rushed into Beta 4.  This is will be fixed in next build.
« Last Edit: September 23, 2019, 08:07:48 pm by Lee »