Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Search & Replace behaviour discussion

<< < (2/2)

tiwag:
we could put the find & replace dialog in a Message-pane tab, where it would be alive all the time,
even more we could display some messages there like
"search passed end of file / top of file" if wrap around is enabled,
"no more occurences" if wrap around is disabled,
"not found" if no occurence of the search string was found,
etc ...

killerbot:

--- Quote from: tiwag on June 26, 2006, 09:00:09 am ---we could put the find & replace dialog in a Message-pane tab, where it would be alive all the time,
even more we could display some messages there like
"search passed end of file / top of file" if wrap around is enabled,
"no more occurences" if wrap around is disabled,
"not found" if no occurence of the search string was found,
etc ...

--- End quote ---

excellent idea (it will give a bit more mouse-miles, compared with a dialog floating around in your editor) but it has the benefit that your hit is not hidden by that floating dialog.
You've got my 100% support :-)

killerbot:
replace now honors also the scope of "in selection". The last bug was probably caused by some copy/paste (?), the replace dialog was reading out a radiobox as a checkbox. (yes, yes, : XRC so nice to dump the real types. That way c++ get's defeated and type checking by the compiler is lost.)
Revision : 2618.

thomas:
One good solution could be to put the dialog into a normal dock window.

Pecan:
How about a search & replace tool bar like the compiler tool bar?
It's movable, docable and you could add all sorts of button options like "next", "previous", "selection type", etc.

You could make it a plugin with tool bar/menu support.
Maybe main.cpp would let us share the copy/paste tool bar/menu items.
 :D

Later, plugin additions could be made to allow it to search any window in CB. It might even search the search results. jeez...

Navigation

[0] Message Index

[*] Previous page

Go to full version