User forums > General (but related to Code::Blocks)
Threadsearch get the wrong position if a file is not saved
(1/1)
ollydbg:
see the image below:
My question is: Can ThreadSearch use the unsaved buffer?
Thanks.
dje:
Hi Ollydbg.
ThreadSeach plugin is designed like C::B Search in files implementation (and most other IDE/Editors in fact), i.e. it searches in file content and does not care about open editors.
I designed it this way because it is faster, simpler and I don't want to keep synchronized editors and search results. As soon as you type a char in an editor, ThreadSearch results might be wrong, so, searching in files or editors don't make a big difference.
And I have to admit I already had problems that make me do a Ctrl+S every three typed chars ;)
Dje
ollydbg:
Thanks for the explanation. :D
oBFusCATed:
Thread search could show the AnnoyingDialog, to warn you and make you choose to save all files :)
dje:
IIRC, Build saves all silently...
I'll try to have a look.
Dje
Navigation
[0] Message Index
Go to full version