User forums > Nightly builds
The 19 September 2010 build (6608) is out.
vasile.cristian@gmail.com:
Hello,
- I have the same problem with folding.
- The second problem it is with the grayed/highlighted code . if i have , for example :
----- file settings.h -------
#define USE_BLABLA
--------------------------
----- file main.h -------
#include settings.h
#ifdef USE_BLABLA
"this is a test"
#endif
-----------------------
The "this is a test" will be grayed.
Thanks.
PS: I have been using Code::Blocks for last three years and i have very good results. Now i start to implement some features (like toolbar for jump in Browse-Tracker and Java compiler support). I found very useful the feature to gray inactive code.
PS2: english it is not my first language , so please forgive my mistakes.
Jenna:
The "Settings -> Editor -> Ok" workaround works only for opened files, not for files that are opened later.
The default settings for code-folding are made before the file is opened (if I remember correctly).
eckard_klotz:
Hello Morten.
Under the topic The 04 September 2010 build (6570) is out. I replied:
--- Quote ---
... If I load the code::blocks project of cppcheck and start cppcheck to test its own sources I can click on one message, code::blocks opens the file and jumps to the associated code-line. If I do the same in my project, I have to search the code-line by my self. How do I have to configure my project to activate the 'find by' click feature? ..
..I added a special test-project as zip-file. It contains 2 simple sources in the src-folder and several code::blocks projects in different folder-levels. If I activate the projects in the sub-folder "CppCheck\CppCheck\prj" or in the sub-folder "CppCheck\CppCheck\prj\CppCheck" I'm not able to find the location associated to the cppcheck-message by click. The other 2 projects are able to find the location by click. Could it be path-problem? ..
--- End quote ---
As I tried out the current nightly shows this behaviour also. Did you notice my attachment. Or did I something wrong while uploading the example you asked for?
Best Regards,
Eckard.
polygon7:
--- Quote from: Loaden on September 20, 2010, 09:33:50 am ---
--- Quote from: oBFusCATed on September 20, 2010, 09:23:17 am ---
--- Quote from: MortenMacFly on September 20, 2010, 07:47:08 am ---Works fine here, tested with all folding styles on Windows and Linux. Did you forget to re-compile properly? What folding / editor settings do you have?
--- End quote ---
It doesn't work for me, too... in the debuggers branch, I was using the autotools system and a clean tree.
I can't check my settings at the moment, but will do it tonight
--- End quote ---
It doesn't work for me too.
If open the options dialog (Settings > Editor...), and press the "OK" to return.
The folding will show well.
When restart CB, the folding is gone again.
--- End quote ---
Hi,
I have the same problem on Ubuntu 10.10 and latest C::B from Jens repository.
seb_seb0:
--- Quote from: MortenMacFly on September 20, 2010, 07:47:08 am ---
--- Quote from: seb_seb0 on September 19, 2010, 08:21:34 pm ---code folding does not work anymore for me (edit: windows vista).
Am I alone, or is it a known issue ? (due to wxscintilla update I suppose)
--- End quote ---
Works fine here, tested with all folding styles on Windows and Linux. Did you forget to re-compile properly? What folding / editor settings do you have?
--- End quote ---
Hello Morten,
I did not recompile, I just used the nightly.
I have downloaded again the nightly, and installed it on Windows Vista. The problem reappeared.
I have tried on another computer (Windows XP) => same problem
I have found 2 work-arounds:
1 - use the wxScintilla.dll from the previous nightly. It works, but I know it is a bit risky.
2 - use the menu "Options" -> "Editor" -> Folding and click "OK". All the opened files are folded correctly.
When a new file is opened, it is NOT folded.
Jens pointed out the same work-around a few posts above.
The second work-around probably holds the key to a long-term solution. There is probably a trigger to call during initialisation of the Scintilla control, that will generate folding. This trigger is not called when opening file.
As you requested, I attach my folding settings.
Kind regards,
Sebastien
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version