News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

An old bug is again in CB

Started by Max, February 05, 2007, 08:06:39 PM

Previous topic - Next topic

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

#1
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

killerbot

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);
 

Pecan

#3
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.

mandrav

Be patient!
This bug will be fixed soon...