i'm having trouble with adding a new help file into the c:b. actually i managed to add the help (qt4.chm) and its working fine... but when i try to add a kbord shortcut from settings -> editor -> kboard shortcuts, it says "KeyBinding file corrupted. Please delete it.".
someone please tell me where this flippin file is.!
cant it be made a bit more simpler... with an option to delete and recreate from there itself rather than askin the user to go and delete it.! ok.. c:b is meant for ppl who can do that but..! :?
The code is in keybinder.cpp. Patches are welcome.
Windows: c:\Documents and Settings\<user name>\Application Data\codeblocks\cbKeybinder...ini
*nix: ~/.codeblocks/cbkeybinder....ini
"corruption" occurs when the menu structure has changed enough such that the old .ini file can no longer be adapted to it.
When this happens new keybinder .ini file needs to be created or the user needs to edit the .ini file. The easiest way is simply to deleted the old .ini file to allow keybinder to rebuild it.
But, if you like, you could contribute something that would reparse the menu, compare to the ini file, save the good key/id/discription combos, delete the deprecated menu key/combos and rewrite the .ini file.
Or, you could try to add a dialog onto a dialog that's interacts with the user.
Either might work.