Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: sethjackson on February 10, 2006, 06:59:16 pm

Title: XML folding
Post by: sethjackson on February 10, 2006, 06:59:16 pm
Hi in Settings -> Editor -> Folding -> Fold XML. Why do we need this option???? If we do need it then I guess every file type will need to have "Fold foo source". For example if I write a batch lexer (which I have BTW) C::B will apply folding to it (the wiki says otherwise but hey the wiki can be wrong every now and then)...... So to summarize can this option be removed?
Title: Re: XML folding
Post by: mandrav on February 10, 2006, 07:07:42 pm
Yes, it can be removed. Actually I don't know why Rick added it as an option in the first place...
Title: Re: XML folding
Post by: sethjackson on February 10, 2006, 07:11:11 pm
Hmm you want to or me?

EDIT:

Let me re-phrase I could submit a patch.  :lol: :lol: :lol:
Title: Re: XML folding
Post by: sethjackson on February 10, 2006, 07:47:57 pm
Waaait a sec I removed it and the XML doesn't fold anymore.....  :P Guess it had better stay.  :lol:

EDIT:

Unless cbEditor ALWAYS (non-user configurable) set html.folding to true.