Author Topic: Using 'ThreadSearch'  (Read 149 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 564
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Using 'ThreadSearch'
« on: Yesterday at 04:23:48 pm »
I'm trying to empty the search string buffer, but I can't!
How do you do it ?
CB-13676, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-4.1.5
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-14.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3, gcc-14.2.0,
=> !! The messages are translated by 'Deepl'

Offline cacb

  • Lives here!
  • ****
  • Posts: 549
Re: Using 'ThreadSearch'
« Reply #1 on: Yesterday at 09:47:23 pm »
I have not used ThreadSearch much, but the GUI doesn't seem to have an option to remove old searches.

The info is stored in the 'default.conf' file which is really an XML file.

'default.conf' is found in
Windows: %APPDATA%\CodeBlocks
Linux: ~/.config/codeblocks

The tag SEARCHPATTERNS under ThreadSearch contains the old search patterns. So it is possible to remove it manually using a text editor if you understand how to not mess up XML syntax.

- Exit C::B before doing anything
- Backup 'default.conf'' in case you mess it up
- Make the changes
- Restart C::B