Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
default.conf is getting obese
(1/1)
Pecan:
Since October the default.conf file has grown by 200k.
Mostly with blank lines. I have over 20,000 blank lines.
Just opening and closing CB adds 195 bytes to the .conf.
mandrav:
Maybe your conf file contains old-and-not-anymore-used settings? I 'm asking because I get nowhere near this size for .conf files...
[attachment deleted by admin]
k2dave:
I have the same problem - 308k - with many blank lines at various places.
I've been using nightlies on xp.
thomas:
--- Quote from: mandrav on April 03, 2007, 09:24:49 am ---Maybe your conf file contains old-and-not-anymore-used settings? I 'm asking because I get nowhere near this size for .conf files...
--- End quote ---
It's due to the Squirrel lexer. The keywords section ends with a backslash and a newline. Remove the backslash, and it works.
I don't know why, but EditorManager fucks it up because of that. Maybe it is a bug in tinyxml's CDATA handling too, no idea.
What happens is that each time the config is saved, another newline is appended to the CDATA holding the Squirrel lexer.
Apart from this obvious bug, it once again opens the old question why we must save every single lexer to the config file. They do not belong there...
Pecan:
I believe it's happening in more sections than that.
Have a look at this defaultConf.zip
http://www.savefile.com/files/605249
Navigation
[0] Message Index
Go to full version