User forums > Using Code::Blocks
Bug in "Replace in Files" Dialog
daniloz:
Hi All,
I was just using the very cool "Replace in Files" feature in C::B (last version from trunk) and I found a bug in the confirmation dialog (see attached image). The problem is that both "All in this file" and "All" share the same shortcut (Alt+A). Btw, when I pressed Alt+A, "All" was selected and not "All in this file", which was my original intention.
Thank you!
daniloz
[attachment deleted by admin]
MortenMacFly:
--- Quote from: daniloz on January 14, 2010, 03:08:03 pm ---I was just using the very cool "Replace in Files" feature in C::B (last version from trunk) and I found a bug in the confirmation dialog (see attached image). The problem is that both "All in this file" and "All" share the same shortcut (Alt+A). Btw, when I pressed Alt+A, "All" was selected and not "All in this file", which was my original intention.
--- End quote ---
You can easily resolve your self:
Patch the file "confirm_replace_multiple.xrc" in:
[C::B]\share\CodeBlocks\manager_resources.zip
daniloz:
OK, done, thank you !!!!
Btw, where do I change this in the source code, so I can make a patch and send for consideration in the next release? (sorry, I'm kind of new to the sources...)
MortenMacFly:
--- Quote from: daniloz on January 14, 2010, 04:16:04 pm ---Btw, where do I change this in the source code, so I can make a patch and send for consideration in the next release? (sorry, I'm kind of new to the sources...)
--- End quote ---
- extract the ZIP archive
- open the XRC file mentioned in an editor
- Search for this in the XRC file:
--- Code: --- <label>&All in this file</label>
--- End code ---
- Replace with this in the XRC file:
--- Code: --- <label>All in &this file</label>
--- End code ---
- make again a ZIP archive out of *all* files (including the sub-directories).
- replace the old with the new (patched) one
Don't worry about a patch, I'll take care. Thanks for reporting though... :-)
daniloz:
Thanks for the explanation. I had already done all the unZIP, edit and ZIP though... :-)
I was really looking for the source files, but thank you again for taking care of it!!
Btw, I use C::B for quite a while now and I'm more and more happy about it.
Great job all of you !!!!!!!
Thanx !!!!!
Navigation
[0] Message Index
[#] Next page
Go to full version