Author Topic: Suggestion for Search and Replace: Multi-line S&R, and other stuff.  (Read 3552 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Hi all! I forgot my berlios account so I'll post here.

Often I've found myself having to switch between "Search path" and "Project files" when searching for a string in multiple files.

I'd like to have an option to restrict S&R (or search only) to certain file extensions (or path), but still restricting the search to project files or open files.

Also, I've been noticing a potential feature that would give C::B an incredible market share: Multi-line search and replace.

Recently I've been having to remove dreamweaver templates from around 400 files. I've had to do a multi-line regex search, but since C::B doesn't allow me to match multiple lines, I've had to do it with a PHP script (for use with PHP-CLI). Since writing scripts is cumbersome, I'd rather have C::B to have multi-line search and replace (with regex, of course) in multiple files.

Thanks!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Suggestion for Search and Replace: Multi-line S&R, and other stuff.
« Reply #1 on: November 05, 2009, 05:34:57 pm »
Hi all! I forgot my berlios account so I'll post here.
:D.

Did you mean the "thread search" plugin? or the dialog opened by "ctrl + F" ?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline blueshake

  • Regular
  • ***
  • Posts: 458
Re: Suggestion for Search and Replace: Multi-line S&R, and other stuff.
« Reply #2 on: November 06, 2009, 01:17:59 am »
I would like if the search dialogue box could be modelless  like what notepad++ does.
« Last Edit: November 06, 2009, 01:24:56 am by blueshake »
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?