Dear All,
I am using CB nightly 3562 (Windows XP SP2) and I am observing a bug that was present
in the past. It was fixed, but now is again present.
Basically when I add any item in the keyword list (set 2) for C/C++ (Settings->Editor->syntax highlighting)
I will lost (on exit CB) all the
syntax highlighting customization. The default colors are used after any changes in the keyword lists
It is a little bit annoying to setup the syntax highlighting colors...
Please, can you confirm the bug?
Regards
Massimo
Quote from: MaxGaspa on February 05, 2007, 08:06:39 PM
Basically when I add any item in the keyword list (set 2) for C/C++ (Settings->Editor->syntax highlighting)
I will lost (on exit CB) all the
syntax highlighting customization. The default colors are used after any changes in the keyword lists
Confirmed.
WinXP x64, wx2.6.3p2, rev 3562
it *might* be related to revision 3557.
@Yiannis : could it be related to the line you uncommented :
//FIXME: Commenting out the following line is no definite cure, but it hides the annoying disappearing colourset for now
//cfg->DeleteSubPath(_T("/colour_sets/") + m_Name);
became
//NOTE (mandrav): uncommenting it doesn't seem to cause any trouble (at least now). What was the problem?
cfg->DeleteSubPath(_T("/colour_sets/") + m_Name);
Quote from: killerbot on February 05, 2007, 09:35:55 PM
it *might* be related to revision 3557.
@Yiannis : could it be related to the line you uncommented :
//FIXME: Commenting out the following line is no definite cure, but it hides the annoying disappearing colourset for now
//cfg->DeleteSubPath(_T("/colour_sets/") + m_Name);
became
//NOTE (mandrav): uncommenting it doesn't seem to cause any trouble (at least now). What was the problem?
cfg->DeleteSubPath(_T("/colour_sets/") + m_Name);
Yup, that's the line. I did the original fix for that because it was deleting the colors and keywords.
Thomas applied it, but could never figure out why it worked.
Fixed in r3576.