Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: Alfred96 on October 09, 2018, 08:37:17 am

Title: Simultaneous rename
Post by: Alfred96 on October 09, 2018, 08:37:17 am
Content removed.

Changed by (hacked?) spam-account.
Title: Re: Simultaneous rename
Post by: oBFusCATed on October 09, 2018, 09:09:16 am
If you have enabled editing in multiple selections (not enabled by default).
You can press ctrl-e (edit -> select next occurrence) multiple times to select them all and then you can just type your new name.

There is also an Edit -> Select all command, but this select every occurrence in the whole file.
Title: Re: Simultaneous rename
Post by: BlueHazzard on October 09, 2018, 09:41:00 am
Why not search and replace all?
Title: Re: Simultaneous rename
Post by: oBFusCATed on October 09, 2018, 10:52:17 am
Because it will be slower :) And it might replace something you don't see.