Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Help Plugin loosing it's settings?
MortenMacFly:
Dear all,
with current head (Version 1.0 revision 2667 () gcc 3.4.5 Windows/unicode) I'm having the following problem:
I realised all my help files that I had setup are gone. I looked in the C::B config file and indeed the help_plugin section was empty. So I copied this section back from a backup copy but when I restarted C::B it was gone again. So I setup a single help file again "manually" inside the C::B configuration (Settings->Environment->Help files). However - the help file is no shown in the menu. Strange is that the help file I have setup "manually" remains in the configuration allthough it's not present inside C::B.
Anyone else experiencing the same?
With regards, Morten.
MortenMacFly:
...back at home from work this happens here, too (on a different system). :(
In addition(without any manual modification) I found this section in the config file:
--- Code: --- <help0>
<help1>
<help1>
<help2>
<help2>
<help3>
<help3>
<help4>
<help4>
<help5>
<help5>
<help6>
<help6>
<help7>
<help7>
<help8>
<help8>
<help9>
<help9>
<help10>
<help10>
<help11>
<help11>
<help12>
<help12>
<help13>
<help13>
<help14>
<help14 />
</help14>
</help13>
</help13>
</help12>
</help12>
</help11>
</help11>
</help10>
</help10>
</help9>
</help9>
</help8>
</help8>
</help7>
</help7>
</help6>
</help6>
</help5>
</help5>
</help4>
</help4>
</help3>
</help3>
</help2>
</help2>
</help1>
</help1>
</help0>
</help0>
--- End code ---
...seems something is broken badly.
lubos:
how do you have rev 2667? only 2661 is actual rev no?
but i dont have that problem, all is ok on my computer.
MortenMacFly:
--- Quote from: lubos on July 04, 2006, 08:39:08 pm ---how do you have rev 2667? only 2661 is actual rev no?
--- End quote ---
Compiled from SVN, actually it is revision 2673 meanwhile...
I've started debugging into this bastard. It seems the enumeration of the keys does not work... I've replaced:
--- Code: --- wxArrayString list = conf->EnumerateSubPaths(_T("/"));
--- End code ---
with:
--- Code: --- wxArrayString all = conf->EnumerateKeys(_T("/"));
--- End code ---
...and made all appropriate changes;
...tried to write into a sub-section "files"
...but all this does not work eigther...?!
With regards, Morten.
thomas:
--- Quote from: MortenMacFly on July 04, 2006, 08:54:40 pm ---It seems the enumeration of the keys does not work... I've replaced:
--- Code: ---wxArrayString list = conf->EnumerateSubPaths(_T("/"));
--- End code ---
with:
--- Code: ---wxArrayString all = conf->EnumerateKeys(_T("/"));
--- End code ---
--- End quote ---
Enumeration of keys does work. However, EnumerateSubPaths really does what its name suggests. It enumerates subpaths, not keys. :)
Navigation
[0] Message Index
[#] Next page
Go to full version