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]
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.
You can easily resolve your self:
Patch the file "
confirm_replace_multiple.xrc" in:
[C::B]\share\CodeBlocks\manager_resources.zip
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...)
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...)
- extract the ZIP archive
- open the XRC file mentioned in an editor
- Search for this in the XRC file:
<label>&All in this file</label>- Replace with this in the XRC file:
<label>All in &this file</label>- 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... :-)
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 !!!!!
Quote from: daniloz on January 14, 2010, 04:27:43 PM
I was really looking for the source files, but thank you again for taking care of it!!
That *is* the source file. The XRC files are loaded on demand and specify the UI. This happens every time you run C::B during the initialisation and using a wx component (API).