I am running CodeLite under Linux Ubuntu 12.04.1 LTS which itself is running in an Oracle VirtualBox.
I am a recent convert to CodeLite for Linux C development. I had previously used Eclipse under Linux (and still use MSVS for some Windows work). I much prefer CodeLite to Eclipse .
Since I installed v5.0.6213, the Settings->Tags Settings->General->Colouring option "Colour macro blocks with gray text colour when the macro is not defined" option does not have the effect which it had prior to the upgrade.
The source code in which I typically work is heavily laden with compile-time conditionals, and I really miss this feature.
I would greatly appreciate any help in restoring this functionality.
Colour macro blocks with gray text colour
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Feb 07, 2013 3:25 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Colour macro blocks with gray text colour
According to the code (and to my memory) this code was not changed. The only thing that *was* changed, was the replacement of wxSctintilla with wxStyledTextCtrl (its the underlying editing control)
In codelite 5.0 we moved to the built-in editing control provided by wxWidgets instead of maintaining our own copy, and it seems that the built-in is older than the one we had (without the support for this feature)
If by next *codelite* release this won't change (I know for fact the wxWIdgets already moved on to a newer version which does include this feature ) - we will patch our copy of wxWidgets
Eran
In codelite 5.0 we moved to the built-in editing control provided by wxWidgets instead of maintaining our own copy, and it seems that the built-in is older than the one we had (without the support for this feature)
If by next *codelite* release this won't change (I know for fact the wxWIdgets already moved on to a newer version which does include this feature ) - we will patch our copy of wxWidgets
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Feb 07, 2013 3:25 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Colour macro blocks with gray text colour
I am now (2013-06-20) using the latest (just checked for updates minutes before this post) of codelite 5.1 and the graying of non-defined code blocks has not returned. (At least on my box.) Is there anything that I can do on my end to restore this highly desirable lost feature?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Colour macro blocks with gray text colour
The blame is to be made on the ancient version of scintilla version that wxWidget is using.
Since the move to wx294, codelite is using wxStyledTextCtrl which uses an older version of scintilla than the one we had in codelite 4.1
This problem will fix itself the minute wx295 is released ( where they have upgraded their scintilla component )
Eran
Since the move to wx294, codelite is using wxStyledTextCtrl which uses an older version of scintilla than the one we had in codelite 4.1
This problem will fix itself the minute wx295 is released ( where they have upgraded their scintilla component )
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Feb 07, 2013 3:25 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Colour macro blocks with gray text colour
Just updated to the latest version (as of 2013-10-23) and this feature appears to have returned. I am very, very pleased!!