Search is not re-executed in incremental mode, if search settings are changed

Started by knn, August 10, 2010, 01:09:16 PM

Previous topic - Next topic

knn

When I QuickSearch then clicking on Case Sensitive doesn't change the current result although it should.

Example Text
This is an EXAMPLE

When I search for "example" (lowercase) and "Case Sensitive" is unchecked then QuickFind doesn't find anything.
Now I check "Case Sensitive" but QuickFind doesn't update the search result (= still shows "Can not find string").

The same bug happens vice versa (= unchecking "Case Sensitive").

alex

Hi knn,

sorry I need more details...

- do you have Incremental mode ON?

QuoteWhen I QuickSearch then clicking on Case Sensitive doesn't change the current result although it should.
Generally if you change search settings, search is not re-executed (case sensitive, whole word etc). This is by design. Let say I have not developed this in such way. Maybe it makes sense to re-execute search, if Incremental mode is ON. I will write it down as todo for 1.50. I will not do downport to 1.49 (it is new functionality and requires additional effort from my side).
Until then, by design, search is re-executed when you change search text (in incremental mode) or press Next/Previous. Search is done from current position.

QuoteWhen I search for "example" (lowercase) and "Case Sensitive" is unchecked then QuickFind doesn't find anything.
By me this works... Can you tell me what is the cursor position, when you start the search (in the document)? It will be not found, if cursor position is ON the word (in the middle) and there is only one occurrence of the word in the document.

The problem is that  search is not re-executed when options changed?

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

knn

Quote from: alex on August 10, 2010, 06:36:46 PMThe problem is that  search is not re-executed when options changed?

Yes, this is the problem:


alex

Ok. Good. So, problem is that search is no re-executed after search settings have been changed.
So, as I said, this is not a bug, but dev request. Looks reasonable, so I will add this in 1.50.
And message moved to Feature request.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]