User forums > Using Code::Blocks

New Folding Issue

<< < (4/5) > >>

tiwag:

--- Quote from: PhyloGenesis on July 24, 2006, 09:19:15 am ---If there are residual problems, (such as the folder no longer finds the close brace) let me know, I'll do a more detailed check and get back on how to do it.

--- End quote ---

try and debug it and then post a patch at berlios

jeancf:
I am using the latest nightly and folded code still shows only opening braces. Has this been implemented? Or is it an option that should be enabled somewhere maybe?

This is a really important feature for me as looking at the folded code with all these unclosed braces makes me very uncomfortable ;-) Seriously, keeping the closing brace visible when the code is folded would improve readability a lot.

Thanks,

/~jc

joubertdj:
The trick is that at each where the "{" and "}" character is...
It has nothing to do with AStyle (I thought it did, but I was wrong)
Within the scintilla source directory is a file called LexCPP.cxx You will probably have to go and edit this file so that it will have an additional check clause if the "{" and "}" characters are alone on a line, then it should be the previous non-white line that needs to be the fold header...

 :lol:

{EDIT} This just means allot of coding and debugging...

joubertdj:
 :oops: Okay so here is a silly question maybe... how do I identify the language that the current editor is handling regarding lexing and folding?

[EDIT] :oops: My Bad... found it ... duh

mandrav:
What is the 'language' that you 're referring to? Isn't cbEditor::GetLanguage( ) enough?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version