Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

ConfigManager editor bugs

(1/3) > >>

takeshimiya:
Hi! It seems that the new ConfigManager will requiere
heavy testing. I've just noticed in latest CVS some bugs:

The first, the colors chosed in
Settings->Editor->Colors gets screwed up when saved to
the xml.

Here's the patch:
In sdk/configmanager.cpp at line 694, change
ret->Set(r, b, g);
to
ret->Set(r, g, b);


The second, the <UNDERLINED bool="0" /> doesn't get
saved in some cases.

Take for example in C/C++ the Matching Brace Highlight.
Bold and Italic seems to get saved right, but despite you set to off the Underlined, it doesn't even get writted to the xml.
It gets writted if Underlined=1 though.

I suppose the bug is in some Save function from sdk/editorcolorset.cpp.

Hope this helps!

mandrav:
Hopefully, I 've fixed them all earlier today.
Thanks :)

takeshimiya:
 :D

Urxae:

--- Quote from: Takeshi Miya on November 24, 2005, 09:06:16 pm ---The second, the <UNDERLINED bool="0" /> doesn't get
saved in some cases.

Take for example in C/C++ the Matching Brace Highlight.
Bold and Italic seems to get saved right, but despite you set to off the Underlined, it doesn't even get writted to the xml.
It gets writted if Underlined=1 though.

I suppose the bug is in some Save function from sdk/editorcolorset.cpp.

--- End quote ---


--- Quote from: mandrav on November 24, 2005, 09:19:45 pm ---Hopefully, I 've fixed them all earlier today.
Thanks :)

--- End quote ---

If that one's fixed, feel free to close this bugreport I filed for it.

Now excuse me while I recompile from CVS and finally turn the bloody matching brace underline OFF ;).

takeshimiya:
Oops, I didn't noticed that bug report.

BTW, I compiled recently the CVS and now I get zero syntax highlighting for any language. I hope this is because anon CVS lags.
I wonder if anonymous SVN from BerliOS will lag too...

Navigation

[0] Message Index

[#] Next page

Go to full version