Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
An old bug is again in CB
(1/1)
Max:
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
artoj:
--- 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
--- End quote ---
Confirmed.
WinXP x64, wx2.6.3p2, rev 3562
killerbot:
it *might* be related to revision 3557.
@Yiannis : could it be related to the line you uncommented :
--- Code: --- //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);
--- End code ---
Pecan:
--- 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 :
--- Code: --- //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);
--- End code ---
--- End quote ---
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.
mandrav:
Fixed in r3576.
Navigation
[0] Message Index
Go to full version