Author Topic: prefer separate search and replace options settings  (Read 3259 times)

Offline briselec

  • Single posting newcomer
  • *
  • Posts: 4
prefer separate search and replace options settings
« on: August 04, 2017, 04:51:11 pm »
Using 16.01 on Linux

When porting code I do a lot of search and replace. When searching I most often use the Regular expression option but when doing replace I usually want match case on whole word. Having the options settings shared between both means I regularly fail to find something because the options are still set for doing a replace.

It would be better if the options settings for search and replace are separate.




Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: prefer separate search and replace options settings
« Reply #1 on: August 04, 2017, 05:05:19 pm »
From what search are you talking (provide the exact path because there exist a lot search function in codeblocks)?
From what option are you talking about?
Have you tried thread search plugin? it is only for searching, but you have to install contribute-plugin package from your favorite package manager

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: prefer separate search and replace options settings
« Reply #2 on: August 04, 2017, 08:40:11 pm »
He is talking about ctrl-f and ctrl-r dialogs.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: prefer separate search and replace options settings
« Reply #3 on: August 04, 2017, 11:57:59 pm »
Quote
He is talking about ctrl-f and ctrl-r dialogs.
ok, now i understand and can replicate it.
This seems really annoying. Is there a reason why this is implemented like this (from a usability point of view or a logic point of view)?

This should not be to hard to code...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: prefer separate search and replace options settings
« Reply #4 on: August 05, 2017, 12:02:45 am »
My guess is that this is by design done in this way.
It reuses the settings and controls.
If it is better or worse, I don't know.
I'm sure there will be users for both variants...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]